Hiding text view for non-staff.

This commit is contained in:
Samuel Clay 2013-01-09 15:39:31 -08:00
parent 365ee7e94d
commit ed78eea55d
3 changed files with 14 additions and 2 deletions

View file

@ -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 = */
/* ==================== */

View file

@ -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 %}

View file

@ -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>