mirror of https://github.com/zulip/zulip.git
Show a bookmark/favorite star on messages.
(imported from commit af34abb353f3d5b5aace59c31c073d6426b0ff03)
This commit is contained in:
parent
2f560a79db
commit
1e9bb457a1
|
@ -65,6 +65,9 @@
|
||||||
<span class="sender_name">{{sender_full_name}}</span>
|
<span class="sender_name">{{sender_full_name}}</span>
|
||||||
</span>
|
</span>
|
||||||
{{/include_sender}}
|
{{/include_sender}}
|
||||||
|
<div class="message_right star">
|
||||||
|
<i class="{{#if starred}}icon-star{{else}}icon-star-empty{{/if}}" title="Star this message"></i>
|
||||||
|
</div>
|
||||||
<div class="message_right actions_hover">
|
<div class="message_right actions_hover">
|
||||||
{{! If include_sender is not set, we will never show this link anyway. }}
|
{{! If include_sender is not set, we will never show this link anyway. }}
|
||||||
{{#include_sender}}<span class="actions_link">« Info</span>{{/include_sender}}
|
{{#include_sender}}<span class="actions_link">« Info</span>{{/include_sender}}
|
||||||
|
|
|
@ -1062,3 +1062,13 @@ table.floating_recipient {
|
||||||
height: 48px;
|
height: 48px;
|
||||||
margin-right: .75em;
|
margin-right: .75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.star {
|
||||||
|
padding-left: 2px;
|
||||||
|
opacity: .4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.star:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue