moved media to media folder in app
[~kgodey/maayanwich.git] / templates / base.html
index 0cfc3a7..7de1bc3 100644 (file)
@@ -1,6 +1,6 @@
 <html>
        <head>
-               <link rel="stylesheet" href="http://127.0.0.1:8000/sandwiches/style.css" type="text/css">
+               <link rel="stylesheet" href="{{ media_url }}sandwiches/style.css" type="text/css">
                <title>{% block title %}Ma'ayanwich Tracker{% endblock %}</title>
                {% block extrahead %}{% endblock %}
        </head>
@@ -13,7 +13,9 @@
                                <h3 class="navtitle">Account</h3>
                                <ul class="nav">
                                        {% if user.is_authenticated %}
+                                               <li><a href="{% url sandwich_user username=request.user.username %}" class="navlink">My Sandwiches</a></li>
                                                <li><a href="{% url add_sandwich %}" class="navlink">Add sandwich</a></li>
+                                               <li><a href="{% url edit_user gusername=request.user.username %}" class="navlink">User Settings</a></li>
                                                <li><a href="{% url logout %}" class="navlink">Logout</a></li>
                                        {% else %}
                                                <li><a href="{% url login %}" class="navlink">Login</a></li>
@@ -33,7 +35,7 @@
                                        {% endfor %}
                                </ul>
                                <ul class="newest">
-                                       <li><a href="{% url all_sandwiches %}" class="navlink">All sandwiches</a></li>
+                                       <li><a href="{% url index_sandwich %}" class="navlink">All sandwiches</a></li>
                                </ul>
                        </div>
                        <div id="content">