From 71894599bf003d399f38f8c38685757c1a2a4cc1 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 3 Jul 2012 13:44:52 +0000 Subject: [PATCH] Tweak the menubar listing of community tracking to show when login is needed, some other text tweaks, and fitting the I-D tracking links under Drafts and RFCs where they seem to belong. - Legacy-Id: 4568 --- ietf/community/models.py | 4 ++-- ietf/templates/base_leftmenu.html | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ietf/community/models.py b/ietf/community/models.py index d98ab2f96..19c8cabd4 100644 --- a/ietf/community/models.py +++ b/ietf/community/models.py @@ -41,9 +41,9 @@ class CommunityList(models.Model): def short_name(self): if self.user: - return 'Personal list' + return 'My tracked I-Ds' else: - return '%s list' % self.group.acronym + return '%s tracked I-Ds' % self.group.acronym def long_name(self): if self.user: diff --git a/ietf/templates/base_leftmenu.html b/ietf/templates/base_leftmenu.html index 02de67d47..9fc982767 100644 --- a/ietf/templates/base_leftmenu.html +++ b/ietf/templates/base_leftmenu.html @@ -1,4 +1,4 @@ -{% comment %} +{% comment %} {% endcomment %} {% load wg_menu %} {% load ietf_filters ietf_streams community_tags %} @@ -77,20 +77,24 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Concluded WGs
  • Non-WG Lists
  • + +
  • Drafts & RFCs
  • +
  • Document search:
  • +
  • +
  • Submit a draft
  • +{% if user|in_group:"WG Chair" %} +
  • Approve a draft
  • +{% endif %} {% get_user_managed_lists user as community_lists %} {% if community_lists %} -
  • Community ID lists
  • -
  • {{ community_lists.personal.short_name }} +
  • {{ community_lists.personal.short_name }}  {% for cl in community_lists.group %}
  • {{ cl.short_name }} {% endfor %} +{% else %} +
  • Sign in to track drafts
  • {% endif %} -
  • Drafts & RFCs
  • -
  • Search
  • -
  • -
  • Submit a draft
  • -
  • Meetings
  • Agenda