diff --git a/tips/templates/tips/all_tips_in_series.html b/tips/templates/tips/all_tips_in_series.html
index 0784360..5992f8e 100644
--- a/tips/templates/tips/all_tips_in_series.html
+++ b/tips/templates/tips/all_tips_in_series.html
@@ -5,14 +5,42 @@
{% endblock title %}
{% block body %}
-
Series: {{ series.name }}
- {% for t in tip %}
-
{{ t.title }}
-
{{ t.author }}
-
Tip {{ t.order }} of {{ series_length }} of Series {{ t.series.name }}
-
Resources we will be using: {{ t.resources }}
-
{{ t.body }}
-
Post on: {{ t.pub_date }}
-
Likes: {{ t.likes }} Dislikes: {{ t.dislikes }}
- {% endfor %}
+ {% include "navbar.html" with home="" tips="active" resources="" %}
+
+
+
Series: {{ series.name }}
+ {% for t in tip %}
+
{{ t.title }}
+
By: {{ t.author }}
+
Tip {{ t.order }} of {{ series_length }} of Series {{ t.series.name }}
+
+
+
+
+
{{ t.body }}
+
+
+
+
Posted on: {{ t.pub_date }}
+
+
+
Likes: {{ t.likes }} Dislikes:{{ t.dislikes }}
+
+
+ {% endfor %}
+
+
+
+
+
{% endblock body %}
\ No newline at end of file
diff --git a/tips/templates/tips/series_list.html b/tips/templates/tips/series_list.html
index 6ded35e..918c2c1 100644
--- a/tips/templates/tips/series_list.html
+++ b/tips/templates/tips/series_list.html
@@ -5,10 +5,17 @@
{% endblock title %}
{% block body %}
-
All Series:
-
- {% for s in series %}
-
- {% endfor %}
-
+ {% include "navbar.html" with home="" tips="active" resources="" %}
+
+
+
+ All Series
+
+ {% for s in series %}
+
+ {% endfor %}
+
+
+
+
{% endblock body %}
\ No newline at end of file
diff --git a/tips/templates/tips/tip_list.html b/tips/templates/tips/tip_list.html
index 11663b0..8c62504 100644
--- a/tips/templates/tips/tip_list.html
+++ b/tips/templates/tips/tip_list.html
@@ -5,13 +5,41 @@
{% endblock title %}
{% block body %}
+ {% include "navbar.html" with home="" tips="active" resources="" %}
{% for tip in tips %}
-
{{ tip.title }}
-
By: {{ tip.author }}
+
+
+
{{ tip.title }}
+
By: {{ tip.author }}
Tip {{ tip.order }} of {{ series_length }} of Series {{ tip.series.name }}
-
Resources we will be using: {{ tip.resources }}
+
+
+
+
{{ tip.body }}
-
Post on: {{ tip.pub_date }}
-
Likes: {{ tip.likes }} Dislikes:{{ tip.dislikes }}
+
+
+
+
Posted on: {{ tip.pub_date }}
+
+
+
Likes: {{ tip.likes }} Dislikes:{{ tip.dislikes }}
+
+
+
+
+
+
+
{% endfor %}
{% endblock body %}
\ No newline at end of file
diff --git a/tips/urls.py b/tips/urls.py
index edf4bf1..dc653ba 100644
--- a/tips/urls.py
+++ b/tips/urls.py
@@ -4,8 +4,8 @@
app_name = 'tips'
urlpatterns = [
- url(r'^$', views.all_tip_list),
- url(r'^series/$', views.all_series_list),
- url(r'^tips/', views.all_tip_list),
+ url(r'^$', views.all_tip_list, name="all-tips"),
+ url(r'^series/$', views.all_series_list, name="series"),
+ url(r'^tips/', views.all_tip_list, name="tips"),
url(r'^series/(?P
[0-9]+)/', views.all_tips_in_series, name='series_detail'),
]
\ No newline at end of file
diff --git a/tips/views.py b/tips/views.py
index 144193d..e9d82f2 100644
--- a/tips/views.py
+++ b/tips/views.py
@@ -5,6 +5,7 @@
# Create your views here.
def all_series_list(request):
series = Series.objects.all()
+ print series
return render(request, 'tips/series_list.html', { 'series': series })
def all_tip_list(request):