Skip to content

Commit

Permalink
Make summary and disclaimer inline
Browse files Browse the repository at this point in the history
This means adding a . after "Disclaimer" outside of a trans block,
because I have been asked not to break any existing translations. To be
fair, we're already doing this evil thing in a few other places, so I
don't feel especially remorseful about it.
  • Loading branch information
Dylan McCall committed Mar 17, 2017
1 parent 354e2aa commit bd36378
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -100,23 +100,23 @@ <h2>
<div id="legalcode-block">
<div id="deed-disclaimer">
{% if multi_language %}
<div class="summary">
<span class="summary">
{% trans %}This is a human-readable summary of (and not a substitute for) the license, which is available in the following languages:{% endtrans %}
{% for legalcode_link, legalcode, legalcode_name in legalcodes %}
<a href="{{ legalcode_link }}">{{ legalcode_name }}</a>
{% endfor %}
</div>
</span>
{% else %}
<div class="summary">
<span class="summary">
{% trans %}This is a human-readable summary of (and not a substitute for) the <a href="legalcode" class="fulltext">license</a>.{% endtrans %}
</div>
</span>
{% endif %}

<div class="disclaimer">
<span class="disclaimer">
<a href="#" id="disclaimer_popup" class="helpLink">
{% trans %}Disclaimer{% endtrans %}
{% trans %}Disclaimer{% endtrans %}.
</a>
</div>
</span>
</div>
</div>

Expand Down

0 comments on commit bd36378

Please sign in to comment.