refactor module view templates to reduce duplication

@dannyroberts 

QA ticket: http://manage.dimagi.com/default.asp?122993
Ok I'm fine with that explanation.


On Thu, Jul 10, 2014 at 10:26 AM, Simon Kelly <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">
>
> Well its better in terms of less code and more configurable. Agree about
> the anit-pattern though except that the full identifier is never referenced
> directly so you'd always have to search using the suffix.
>
> Open to suggestions on how to do it without this.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dimagi/commcare-hq/pull/3837/files#r14768552>.
>