This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single Theme view for sites. Bug 587616.
- Loading branch information
Fred Wenzel
committed
Aug 23, 2010
1 parent
cc94f1b
commit a9b3cf9
Showing
10 changed files
with
161 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block page_title -%} | ||
{{ site.domain }} :: {{ _('Sites') }} | ||
{%- endblock %} | ||
{% block body_id %}website_issues{% endblock %} | ||
{% block header_links %}{{ header_links('website_issues') }}{% endblock %} | ||
|
||
{% block content %} | ||
<div class="col left"> | ||
{{ big_count_block(opinion_count) }} | ||
</div><!-- | ||
--><div class="col middle wide"> | ||
<div id="messages" class="block"> | ||
<h2>{{ _('Theme') }}</h2> | ||
|
||
<a class="exit" href="{{ site.get_absolute_url() }}"> | ||
{{ _('Back to {domain} »')|f(domain=site.domain)|safe }}</a> | ||
|
||
<div id="theme-callout"> | ||
{{ cluster.primary_description }} | ||
</div> | ||
|
||
{{ message_list(opinions, show_notfound=False) }} | ||
|
||
{# Pagination #} | ||
{% if page and page.has_other_pages() %} | ||
<div class="pager"> | ||
{% with link_txt = _('« Previous Page')|safe %} | ||
{% if page.has_previous() %} | ||
<a class="next" href="?page={{ page.previous_page_number() }}">{{ link_txt }}</a> | ||
{% else %} | ||
<span class="next inactive">{{ link_txt }}</span> | ||
{% endif %} | ||
{% endwith %} | ||
|
||
{% with link_txt = _('Next Page »')|safe %} | ||
{% if page.has_next() %} | ||
<a class="prev" href="?page={{ page.next_page_number() }}">{{ link_txt }}</a> | ||
{% else %} | ||
<span class="prev inactive">{{ link_txt }}</span> | ||
{% endif %} | ||
{% endwith %} | ||
</div> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters