mirror of https://github.com/zulip/zulip.git
Rename subject_box to pm-box/topic-box.
I'm not crazy about the names pm-box and topic-box, but they are less confusing now.
This commit is contained in:
parent
43c372bfb6
commit
06fe4bc943
|
@ -148,7 +148,7 @@ exports.set_click_handlers = function (callbacks) {
|
|||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$('#stream_filters').on('click', '.subject_box', function (e) {
|
||||
$('#stream_filters').on('click', '.topic-box', function (e) {
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -299,12 +299,14 @@ li.expanded_private_message {
|
|||
margin-bottom: -5px;
|
||||
}
|
||||
|
||||
.subject_box {
|
||||
.pm-box,
|
||||
.topic-box {
|
||||
display: block;
|
||||
margin-right: 38px;
|
||||
}
|
||||
|
||||
.zero-subject-unreads .subject_box {
|
||||
.zero-subject-unreads .pm-box,
|
||||
.zero-subject-unreads .topic-box {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<ul class='expanded_private_messages' data-name='private'>
|
||||
{{#each messages}}
|
||||
<li class='{{#if is_zero}}zero-subject-unreads{{/if}} {{#if zoom_out_hide}}zoom-out-hide{{/if}} expanded_private_message' data-name='{{reply_to}}'>
|
||||
<span class='subject_box'>
|
||||
<span class='pm-box'>
|
||||
<a href='{{url}}' class="conversation-partners">
|
||||
{{recipients}}
|
||||
</a>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<li class='{{#if is_zero}}zero-subject-unreads{{/if}} {{#if is_muted}}muted_topic{{/if}} {{#if zoom_out_hide}} zoom-out-hide{{/if}} topic-list-item' data-name='{{topic_name}}'>
|
||||
<span class='subject_box'>
|
||||
<span class='topic-box'>
|
||||
<a href='{{url}}' class="subject-name">
|
||||
{{topic_name}}
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue