Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
- Indicated SSL sites on sites list and single-site view (bug 603432).
Browse files Browse the repository at this point in the history
- Fixed styling of links on sites list to match UX overhaul styleguide.
  • Loading branch information
x1B committed Oct 11, 2010
1 parent 7da7b33 commit 1aa91f6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
@@ -1,4 +1,4 @@
<h2>{{ site.domain }}</h2>
<h2>{{ site.domain }}{% if site.url|protocol == 'https' %} <span class="ssl">(SSL)</span>{% endif %}</h2>

<a class="exit" href="{{ url('website_issues') }}">{{ _('Back to all sites &raquo;')|safe }}</a>

Expand Down
15 changes: 10 additions & 5 deletions apps/website_issues/templates/website_issues/sites_list.html
Expand Up @@ -32,7 +32,12 @@ <h3>{{ _('No results found!') }}</h3>
<ul class="sites">
{% for site in sites %}
<li class="site">
<p class="name"><a href="{{ sites_url(form, url=site.url) }}">{{ site.domain }}</a></p>
<p class="name">
<a href="{{ sites_url(form, url=site.url) }}">{{ site.domain }}</a>
{% if site.url|protocol == 'https' %}
<span class="ssl">(SSL)</span>
{% endif %}
</p>
<ul class="meta">
<li><a href="{{ sites_url(form, url=site.url)}}">
{% trans num=site.size, count=site.size|numberfmt %}
Expand All @@ -53,20 +58,20 @@ <h3>{{ _('No results found!') }}</h3>
<ul class="samples">
{% for cluster in site.all_clusters[:3] %}
<li>
<a href="{{ cluster.get_absolute_url() }}">
{# TODO link to theme page #}
{{ cluster.primary_description|as_unicode }}
{% if cluster.size > 1 %}
{# L10n: "similar" refers to "similar messages". #}
<span>
<a href="{{ cluster.get_absolute_url() }}">
<span>
{% trans num=cluster.size-1, count=(cluster.size-1)|numberfmt %}
{{ count }} similar
{% pluralize %}
{{ count }} similar
{% endtrans %}
</a>
</span>
</span>
{% endif %}
</a>
</li>
{% endfor %}
</ul>
Expand Down
3 changes: 3 additions & 0 deletions media/css/reporter.css
Expand Up @@ -974,6 +974,9 @@ input.placeholder {
margin-bottom: 5px;
}

#website_issues .ssl {
color: #808080;
}

.terms .term {
margin-right: 1em;
Expand Down

0 comments on commit 1aa91f6

Please sign in to comment.