~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to templates/base.html

  • Committer: Janos Gyerik
  • Date: 2012-02-08 22:40:20 UTC
  • Revision ID: janos@axiom-20120208224020-g7pd73jjxiy0scaf
show the Post one-liner link even when not logged in, but ask to login before posting

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
                    {% endif %}
23
23
                    <li><a href="{% url bashoneliners.main.views.sourcecode %}">Source code</a></li>
24
24
                    <li><a href="{% url bashoneliners.main.views.index %}">Latest</a></li>
 
25
                    <li><a href="{% url bashoneliners.main.views.oneliner_new %}">Post</a>
25
26
                    <li><a href="{% url bashoneliners.main.views.question_list %}">Questions</a></li>
26
 
                    {% if user.is_authenticated %}
27
 
                    <li><a href="{% url bashoneliners.main.views.oneliner_new %}">Post</a>
28
 
                    {% endif %}
29
27
                    <li><a href="{% url bashoneliners.urls.feed %}">RSS</a></li>
30
28
                </ul>
31
29