mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Hiding text view for non-staff.
This commit is contained in:
parent
365ee7e94d
commit
ed78eea55d
3 changed files with 14 additions and 2 deletions
|
@ -46,6 +46,18 @@ a img {
|
|||
line-height: 12px;
|
||||
}
|
||||
|
||||
/* ================ */
|
||||
/* = Restrictions = */
|
||||
/* ================ */
|
||||
|
||||
.NB-staff-only {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.NB-staff .NB-staff-only {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* ==================== */
|
||||
/* = Styling & Themes = */
|
||||
/* ==================== */
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
{% endif %}
|
||||
</head>
|
||||
|
||||
<body class="{% block bodyclass %}{% endblock %}">
|
||||
<body class="{% block bodyclass %}{% endblock %} {% if user.is_staff %}NB-staff{% endif %} {% if user_profile.is_premium %}NB-premium{% endif %}">
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@
|
|||
<div class="NB-task-view-switch-arrow NB-task-view-to-text-arrow"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="task_button task_button_view task_view_text">
|
||||
<li class="task_button task_button_view task_view_text NB-staff-only">
|
||||
<div class="NB-task-button-wrapper">
|
||||
<div class="task_button_background"></div>
|
||||
<div class="NB-task-image"></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue