mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: show lock icons for secured categories in boxes views
This commit is contained in:
parent
0238a076f3
commit
e96d875bee
3 changed files with 16 additions and 2 deletions
|
@ -7,7 +7,12 @@
|
|||
{{cdn-img src=c.uploaded_logo.url class="logo"}}
|
||||
{{/if}}
|
||||
|
||||
<h3>{{c.name}}</h3>
|
||||
<h3>
|
||||
{{#if c.read_restricted}}
|
||||
{{fa-icon 'lock'}}
|
||||
{{/if}}
|
||||
{{c.name}}
|
||||
</h3>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,7 +6,12 @@
|
|||
{{cdn-img src=c.uploaded_logo.url class="logo"}}
|
||||
{{/if}}
|
||||
|
||||
<h3>{{c.name}}</h3>
|
||||
<h3>
|
||||
{{#if c.read_restricted}}
|
||||
{{fa-icon 'lock'}}
|
||||
{{/if}}
|
||||
{{c.name}}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class='description'>
|
||||
|
|
|
@ -202,6 +202,10 @@
|
|||
height: 40px;
|
||||
margin: 0 auto 1em auto;
|
||||
}
|
||||
|
||||
h3 .fa {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
&.no-logos {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue