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"
|
2016-04-21 08:48:33 +02:00
|
|
|
class="global-filter active-filter"><span class="filter-icon"><i class="icon-vector-home"></i></span><a href="#">{{ _('Home') }} <span class="count"><span class="value"></span></span></a></li>
|
|
|
|
<li data-name="private" class="global-filter"><span class="filter-icon"><i class="icon-vector-user"></i></span><a href="#narrow/is/private">{{ _('Private messages') }} <span class="count"><span class="value"></span></span></a></li>
|
|
|
|
<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-06-13 22:06:12 +02:00
|
|
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-toggle="tooltip" title="Subscribed streams"><a href="">{{ _('STREAMS') }}</a></h4>
|
2013-07-12 17:00:32 +02:00
|
|
|
<a href=""><i id="streams_inline_cog" class='icon-vector-cog' data-toggle="tooltip" title="Subscribe, add, or configure streams"></i></a>
|
2016-06-13 22:06:12 +02:00
|
|
|
<a href=""><i id='streams_filter_icon' class='icon-vector-search' data-toggle="tooltip" title="Filter streams list"></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">
|
2016-04-21 08:48:33 +02:00
|
|
|
<i class="icon-vector-chevron-left"></i> <a href="" class="show-all-streams">{{ _('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">
|
2016-06-13 22:06:12 +02:00
|
|
|
<input class="stream-list-filter notdisplayed" type="text" placeholder="{{ _('Search streams') }}" />
|
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-04-21 08:48:33 +02:00
|
|
|
<i class="toggle icon-vector-caret-right"></i><div id="sharethelove-header"><h4 class="share-the-love-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-04-21 08:48:33 +02:00
|
|
|
<strong>{{ _('Thanks!') }}</strong> {{ _('A hand-crafted, artisanal invite is on the way') }}.
|
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>
|
2016-04-21 08:48:33 +02:00
|
|
|
{% trans %}We'll have more invites for you soon, but
|
2013-08-15 22:58:53 +02:00
|
|
|
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
|
2016-04-21 08:48:33 +02:00
|
|
|
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-04-21 08:48:33 +02:00
|
|
|
<small class="pull-right"><span class="invite-count">0</span> {{ _('invite') }}<span class="invite-count-is-plural">s</span> {{ _('remaining') }}</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>
|