зеркало из https://github.com/mozilla/kitsune.git
[bug 649433] Add category headings to Revision History page
This commit is contained in:
Родитель
140f4ac11c
Коммит
e561a1ed03
|
@ -35,7 +35,22 @@
|
|||
{% if document.current_revision == rev %}
|
||||
{% set reached_current = True %}
|
||||
{% endif %}
|
||||
{% if loop.first %}<ul>{% endif %}
|
||||
{% if loop.first %}
|
||||
<ul>
|
||||
<li class="header">
|
||||
<div class="radio"></div>
|
||||
<div class="radio"></div>
|
||||
<div class="date">{{ _('Revision') }}</div>
|
||||
<div class="status">{{ _('Status') }}</div>
|
||||
<div class="significance"><abbr title="{{ _('Significance') }}">S</abbr></div>
|
||||
<div class="creator">{{ _('Editor') }}</div>
|
||||
<div class="comment">{{ _('Comment') }}</div>
|
||||
<div class="edit"></div>
|
||||
{% if document.current_revision != rev and user.has_perm('wiki.delete_revision') %}
|
||||
<div class="delete"></div>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="{% if document.current_revision == rev %}current{% endif %}{% if rev.reviewed and not rev.is_approved %}rejected{% endif %}">
|
||||
<div class="radio">
|
||||
{% if not loop.first %}<input type="radio" name="from" value="{{ rev.id }}" {% if loop.index == 2 %}checked="checked"{% endif %} />{% endif %}
|
||||
|
|
|
@ -575,6 +575,11 @@ details.h2 > summary {
|
|||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
#revision-list li.header * {
|
||||
color: #666 !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#revision-list div.radio {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
|
|
Загрузка…
Ссылка в новой задаче