Tweaked the community tracker links in the lefthand menubar to avoid line breaking for the WG documents link visible to WG chairs.

- Legacy-Id: 4584
This commit is contained in:
Henrik Levkowetz 2012-07-04 12:14:37 +00:00
parent 73f00aa920
commit 4cb0643c9e
2 changed files with 4 additions and 4 deletions

View file

@ -41,9 +41,9 @@ class CommunityList(models.Model):
def short_name(self):
if self.user:
return 'My tracked I-Ds'
return 'mine'
else:
return '%s tracked I-Ds' % self.group.acronym
return '%s' % self.group.acronym
def long_name(self):
if self.user:

View file

@ -87,9 +87,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endif %}
{% get_user_managed_lists user as community_lists %}
{% if community_lists %}
<li><a href="{{ community_lists.personal.get_manage_url }}">{{ community_lists.personal.short_name }}</a>&nbsp;
<li><a href="{{ community_lists.personal.get_manage_url }}">My tracked docs</a>&nbsp;</li>
{% for cl in community_lists.group %}
<li><a href="{{ cl.get_manage_url }}">{{ cl.short_name }}</a>
<li><a href="{{ cl.get_manage_url }}">WG {{ cl.short_name }} docs</a></li>
{% endfor %}
{% else %}
<li><a href="http://{{ request.get_host }}/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign in to track drafts</a></li>