UX: dim hidden revisions

This commit is contained in:
Régis Hanol 2014-10-16 16:32:02 +02:00
parent 5b004f8cce
commit 8bb20f2260
2 changed files with 4 additions and 1 deletions

View file

@ -30,7 +30,7 @@
<div id="revision-details">
{{i18n post.revisions.details.edited_by}} {{#link-to 'user' username}}{{bound-avatar-template content.avatar_template "small"}} {{username}}{{/link-to}} <span class="date">{{bound-date created_at}}</span> {{#if edit_reason}} &mdash; <span class="edit-reason">{{edit_reason}}</span>{{/if}}
</div>
<div id="revisions">
<div id="revisions" {{bind-attr class="hidden:hidden-revision"}}>
{{#if title_changes}}
<div class="row">
<h2>{{{title_diff}}}</h2>

View file

@ -75,4 +75,7 @@
.fa-ban {
color: #f00;
}
.hidden-revision {
opacity: 0.5;
}
}