2013-08-13 12:52:26 +02:00
|
|
|
<div class="left-sidebar" id="left-sidebar">
|
2013-02-28 18:57:05 +01:00
|
|
|
<div class="bottom_sidebar">
|
|
|
|
<ul id="global_filters" class="filters">
|
|
|
|
{# Special-case this link so we don't actually go to page top. #}
|
2013-04-02 22:50:45 +02:00
|
|
|
<li data-name="home"
|
2017-01-16 16:43:02 +01:00
|
|
|
class="global-filter active-filter home-link"><span class="filter-icon"><i class="icon-vector-home"></i></span><a href="#">{{ _('Home') }} <span class="count"><span class="value"></span></span></a></li>
|
2016-11-04 20:14:00 +01:00
|
|
|
<li data-name="private" class="global-filter"><span class="filter-icon"><i class="icon-vector-envelope"></i></span><a href="#narrow/is/private">{{ _('Private messages') }} <span class="count"><span class="value"></span></span></a></li>
|
2016-04-21 08:48:33 +02:00
|
|
|
<li data-name="starred" class="global-filter"><span class="filter-icon"><i class="icon-vector-star"></i></span><a href="#narrow/is/starred">{{ _('Starred messages') }}</a></li>
|
|
|
|
<li data-name="mentioned" class="global-filter"><span class="filter-icon"><i class="icon-vector-tag"></i></span><a href="#narrow/is/mentioned">{{ _('@-mentions') }}<span class="count"><span class="value"></span></span></a></li>
|
2013-02-28 18:57:05 +01:00
|
|
|
</ul>
|
Rewrite topic zoom to fix bugs and make cleaner.
In the first cut at topic zoom, I was re-rendering the
streams list, but this created glitches with orphaned
list items. The reproducible bug was that unread counts
on unshown streams weren't updating.
In the new approach, I keep the elements more permanent, and
I just hide and show them as needed, either through jQuery
show/hide or permanent CSS selectors.
I got rid of toggle_zoom(), so that we just explicitly zoom
in and zoom out in all situations. In particular, when we
narrow, it's more clear now that only stay zoomed in when
we're narrowing to the same stream as before (including topic
narrows within that stream).
When you zoom in, the number of topics is no longer limited
to 30, since that was kind of arbitrary anyway. (In practice,
the number of topics is usually well under 30, anyway, due to
the way we track them on the client.)
(imported from commit 5b6c143dee9ba9fe557d8cc36335ff28efb4b0de)
2013-11-26 23:06:39 +01:00
|
|
|
<div id="streams_list" class="zoom-out">
|
2016-12-15 10:11:05 +01:00
|
|
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-toggle="tooltip" title="{{ _('Subscribed streams') }}"><a href="">{{ _('STREAMS') }}</a></h4>
|
2017-03-09 00:20:22 +01:00
|
|
|
<a href="#streams">
|
2016-12-15 10:11:05 +01:00
|
|
|
<i id="streams_inline_cog" class='icon-vector-cog' data-toggle="tooltip" title="{{ _('Subscribe, add, or configure streams') }}"></i>
|
2016-11-01 22:32:10 +01:00
|
|
|
</a>
|
2016-12-15 10:11:05 +01:00
|
|
|
<a href=""><i id='streams_filter_icon' class='icon-vector-search' data-toggle="tooltip" title="{{ _('Filter streams list') }}"></i></a>
|
2017-01-12 00:03:20 +01:00
|
|
|
<a href="" id="join_unsub_stream">
|
|
|
|
<i class="icon-vector-plus" title="{{ _('Join stream')}}"></i>
|
|
|
|
</a>
|
2013-07-12 17:00:32 +02:00
|
|
|
</div>
|
2013-11-22 21:04:49 +01:00
|
|
|
<div id="topics_header">
|
2013-11-27 16:09:10 +01:00
|
|
|
<div class="all-streams-padding">
|
|
|
|
<ul class="filters">
|
|
|
|
<li data-name="all-streams">
|
2017-03-29 22:15:21 +02:00
|
|
|
<a href="" class="show-all-streams"> <i class="icon-vector-chevron-left"></i>{{ _('All streams') }}</a>
|
2013-11-27 16:09:10 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-11-22 21:04:49 +01:00
|
|
|
</div>
|
2014-02-28 21:54:46 +01:00
|
|
|
<div id="stream-filters-container" class="scrolling_list">
|
2017-04-05 14:18:35 +02:00
|
|
|
<div class="input-append notdisplayed">
|
|
|
|
<input class="stream-list-filter" type="text" placeholder="{{ _('Search streams') }}" />
|
|
|
|
<button type="button" class="btn clear_search_button" id="clear_search_stream_button" disabled="disabled">
|
|
|
|
<i class="icon-vector-remove"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2014-02-28 21:54:46 +01:00
|
|
|
<ul id="stream_filters" class="filters"></ul>
|
|
|
|
</div>
|
2013-07-12 17:00:32 +02:00
|
|
|
</div>
|
2013-08-06 20:21:32 +02:00
|
|
|
<div id="share-the-love">
|
2013-08-15 22:44:34 +02:00
|
|
|
<div id="share-the-love-expand-collapse">
|
2016-11-02 05:18:25 +01:00
|
|
|
<i class="toggle icon-vector-caret-right"></i><div id="sharethelove-header"><h4 class="sidebar-title">{{ _('SHARE THE LOVE') }}<span class="still-have-invites"> (<span class="invite-count">0</span>)</span></h4></div>
|
2013-08-06 20:21:32 +02:00
|
|
|
</div>
|
2013-08-15 22:44:34 +02:00
|
|
|
<div id="share-the-love-contents">
|
|
|
|
<div id="tell-a-friend-success" class="alert alert-success">
|
2016-10-13 13:16:07 +02:00
|
|
|
{% trans %}<strong>Thanks!</strong> A hand-crafted, artisanal invite is on the way.{% endtrans %}
|
2013-08-15 22:44:34 +02:00
|
|
|
</div>
|
|
|
|
<div class="still-have-invites" id="encouraging-invite-message">
|
|
|
|
<p>
|
2016-04-21 08:48:33 +02:00
|
|
|
{{ _("Know someone who would love Zulip for their company or group? Invite 'em!") }}
|
2013-08-15 22:44:34 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
2013-08-15 22:58:53 +02:00
|
|
|
<div class="no-more-invites">
|
|
|
|
<p>
|
2017-03-01 18:08:09 +01:00
|
|
|
{% trans %}
|
|
|
|
We'll have more invites for
|
|
|
|
you soon, but for now, enjoy
|
|
|
|
this <a target="_blank"
|
|
|
|
href="http://www.youtube.com/watch?v=PW71En5Pa5s#t=2m01s">song
|
|
|
|
that expresses how we feel when you're
|
|
|
|
logged out</a>.
|
|
|
|
{% endtrans %}
|
2013-08-15 22:58:53 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
2013-08-15 22:44:34 +02:00
|
|
|
<div class="still-have-invites">
|
|
|
|
{# Many of these values are set by the initialization code in referral.js #}
|
|
|
|
<form id="referral-form">
|
|
|
|
<input class="input-block-level required" type="email" name="email" />
|
|
|
|
<label for="email" generated="true" class="text-error"></label>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="invite-count-area">
|
|
|
|
<span id="invite-hearts"></span>
|
2016-10-13 14:10:03 +02:00
|
|
|
<small class="pull-right"><span class="invite-count">0 {{ _('invites remaining') }}</span></small>
|
2013-08-15 22:44:34 +02:00
|
|
|
</div>
|
2013-08-06 20:21:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-02-28 18:57:05 +01:00
|
|
|
</div>
|
|
|
|
</div>
|