mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
UX: dim hidden revisions
This commit is contained in:
parent
5b004f8cce
commit
8bb20f2260
2 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
<div id="revision-details">
|
<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}} — <span class="edit-reason">{{edit_reason}}</span>{{/if}}
|
{{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}} — <span class="edit-reason">{{edit_reason}}</span>{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div id="revisions">
|
<div id="revisions" {{bind-attr class="hidden:hidden-revision"}}>
|
||||||
{{#if title_changes}}
|
{{#if title_changes}}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h2>{{{title_diff}}}</h2>
|
<h2>{{{title_diff}}}</h2>
|
||||||
|
|
|
@ -75,4 +75,7 @@
|
||||||
.fa-ban {
|
.fa-ban {
|
||||||
color: #f00;
|
color: #f00;
|
||||||
}
|
}
|
||||||
|
.hidden-revision {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue