Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#368] Show sidebar on revisions pages
- Loading branch information
Showing
4 changed files
with
112 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
{% extends "page.html" %} | ||
{% extends "revision/read_base.html" %} | ||
|
||
{% block subtitle %}{{ _('Revision History') }}{% endblock %} | ||
|
||
{% block breadcrumb_content %} | ||
<li class="active"><a href="" title="{{ _('Revision History') }}">{{ _('Revisions') }}</a></li> | ||
{% endblock %} | ||
|
||
{% block primary %} | ||
<section class="module prose"> | ||
<section class="module-content"> | ||
<h1>{{ _('Revision History') }}</h1> | ||
{% block primary_content_inner %} | ||
<h1>{{ _('Revision History') }}</h1> | ||
|
||
{{ c.page.pager() }} | ||
{{ c.page.pager() }} | ||
|
||
{% block revisions_list %} | ||
{% snippet "revision/snippets/revisions_list.html", revisions=c.page.items %} | ||
{% endblock %} | ||
{% block revisions_list %} | ||
{% snippet "revision/snippets/revisions_list.html", revisions=c.page.items %} | ||
{% endblock %} | ||
|
||
{{ c.page.pager() }} | ||
|
||
</section> | ||
</section> | ||
{{ c.page.pager() }} | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "page.html" %} | ||
|
||
{% block secondary_content %} | ||
|
||
{% block secondary_help_content %}{% endblock %} | ||
|
||
{% block package_social %} | ||
{% snippet "snippets/social.html" %} | ||
{% endblock %} | ||
|
||
{% endblock %} | ||
|
||
{% block primary_content %} | ||
<article class="module prose"> | ||
<section class="module-content"> | ||
{% block primary_content_inner %}{% endblock %} | ||
</section> | ||
</article> | ||
{% endblock %} |