Commit 163610d5 by marco

updated pinning icons and removed images

parent d5105b7a
...@@ -2645,7 +2645,7 @@ body.discussion { ...@@ -2645,7 +2645,7 @@ body.discussion {
width: 10px; width: 10px;
height: 14px; height: 14px;
padding-right: 3px; padding-right: 3px;
background: transparent url('../images/unpinned.png') no-repeat 0 0; color: $gray-l2;
} }
.pinned .icon { .pinned .icon {
...@@ -2655,7 +2655,7 @@ body.discussion { ...@@ -2655,7 +2655,7 @@ body.discussion {
width: 10px; width: 10px;
height: 14px; height: 14px;
padding-right: 3px; padding-right: 3px;
background: transparent url('../images/pinned.png') no-repeat 0 0; color: $pink;
} }
.pinned span { .pinned span {
......
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
% if course and has_permission(user, 'openclose_thread', course.id): % if course and has_permission(user, 'openclose_thread', course.id):
<div class="admin-pin discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread"> <div class="admin-pin discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread">
<i class="icon"></i><span class="pin-label">Pin Thread</span></div> <i class="icon icon-pushpin"></i><span class="pin-label">Pin Thread</span></div>
%else: %else:
${"<% if (pinned) { %>"} ${"<% if (pinned) { %>"}
<div class="discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread"> <div class="discussion-pin notpinned" data-role="thread-pin" data-tooltip="pin this thread">
<i class="icon"></i><span class="pin-label">Pin Thread</span></div> <i class="icon icon-pushpin"></i><span class="pin-label">Pin Thread</span></div>
${"<% } %>"} ${"<% } %>"}
% endif % endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment