refactor module view templates to reduce duplication

@dannyroberts 

QA ticket: http://manage.dimagi.com/default.asp?122993
Low tech but extremely clever. Not applicable in this situation I think,
but I like it.
On Jul 10, 2014 12:49 PM, "Daniel Miller" <notifications@github.com> wrote:

> In corehq/apps/app_manager/templates/app_manager/module_view.html:
>
> >      <li>
> > -        <a href="#detail-screen-config-tab" data-toggle="tab">
> > -            {% trans "Case List" %}
> > +        <a href="#{{ detail.type }}-detail-screen-config-tab" data-toggle="tab">
>
> One thing I've done in the past is to include a comment near the place
> where I'm constructing the identifier with a list of the possible values
> that would be constructed. This is only practical when there are only a
> few, but this might be a good candidate for that. For example:
>
> {# for grep: case-detail-screen-config-tab product-detail-screen-config-tab #}
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dimagi/commcare-hq/pull/3837/files#r14777792>.
>