1. Benoît Allard
  2. buglink

Commits

Benoît Allard  committed 7496ac8

web/template: Improve formatting of the diffbuild page

  • Participants
  • Parent commits 4868d26
  • Branches default

Comments (0)

Files changed (2)

File web/templates/diffbuild.html

View file
  • Ignore whitespace
 {% block body %}
 <h2>Difference between build#{{ request.args['old'] }} and build#{{ request.args['new'] }}.</h2>
 <div>
-  Global statistics:
+  <h3>Global statistics:</h3>
   {{ macros.render_issues(globals[0], globals[1], globals[2])|safe }}
 </div>
 <div>
-  Per repository:
+  <h3>Per repository:</h3>
   <ul>
     {% for repopath, repo in repositories.iteritems() %}
     {{ macros.diff_repo(repopath, repo, optparams)|safe }}

File web/templates/macros.j2

View file
  • Ignore whitespace
 {% set oldch, newch, issuesmin, issuesplus, num_annon = repo %}
 {% if oldch != newch %}
 <li>
-  <h3><a href="{{ url_for('diff.changeset', repo=repopath, old=oldch,
+  <h4><a href="{{ url_for('diff.changeset', repo=repopath, old=oldch,
                           new=newch, **optparams) }}">
     {{- repopath -}}
-  </a> (<tt>{{ oldch[:12] }}</tt> &rarr; <tt>{{ newch[:12] }}</tt>)</h3>
+  </a> (<tt>{{ oldch[:12] }}</tt> &rarr; <tt>{{ newch[:12] }}</tt>)</h4>
   {{ render_issues(issuesmin, issuesplus, num_annon) }}
 </li>
 {% endif %}