You do not have permission to lock this show.
{% for show in recent %}
-
+
{{show.name}}
diff --git a/LandingPage/templates/shows.html b/LandingPage/templates/shows.html
index 969774e..6880c90 100644
--- a/LandingPage/templates/shows.html
+++ b/LandingPage/templates/shows.html
@@ -5,7 +5,7 @@
{% for show in shows %}
{% if forloop.counter|divisibleby:3 %}
diff --git a/LandingPage/views.py b/LandingPage/views.py
index cf848ce..d0a36e2 100644
--- a/LandingPage/views.py
+++ b/LandingPage/views.py
@@ -21,7 +21,7 @@ from django.contrib.auth import login as auth_login, authenticate
from django.conf import settings
from django.http import HttpResponse
from django.http import HttpResponseRedirect
-from django.db.models import Max
+from django.db.models import Max, F
from django.contrib.auth.views import logout
import requests
import hashlib
@@ -31,16 +31,6 @@ from .models import Show
from .models import Submission
from .models import DiscussionBoard
-# Get a show's URL by its abbreviation
-def get_show_url(abbr):
- use_sdms = getattr(settings, "DOMAIN_SUBDOMAIN_SHOWS", False)
- domain = getattr(settings, "DOMAIN", 'localhost')
-
- if use_sdms:
- return '%s.%s' % (abbr, domain)
-
- return '/show/%s' % (abbr)
-
# Redirect url should point to this view
class LoginRedirect(View):
def get(self, req):
diff --git a/Show/templates/create_ban.html b/Show/templates/create_ban.html
index e798897..57981b2 100644
--- a/Show/templates/create_ban.html
+++ b/Show/templates/create_ban.html
@@ -7,7 +7,7 @@
- {{show.name}}
+ {{show.name}}
New Season
diff --git a/Show/templates/episode.html b/Show/templates/episode.html
index 5a94280..9273541 100644
--- a/Show/templates/episode.html
+++ b/Show/templates/episode.html
@@ -46,7 +46,7 @@
@@ -111,19 +111,19 @@
-
Discuss {{episode.name}} on the discussion boards !
+
Discuss {{episode.name}} on the discussion boards !
{% if has_previous %}
- Previous Episode
+ Previous Episode
{% else %}
@@ -132,7 +132,7 @@
{% endif %}
{% if has_next %}
- Next Episode
+ Next Episode
{% else %}
diff --git a/Show/templates/episode_add.html b/Show/templates/episode_add.html
index 27e3802..c2abbfc 100644
--- a/Show/templates/episode_add.html
+++ b/Show/templates/episode_add.html
@@ -33,7 +33,7 @@
- {{show.name}}
+ {{show.name}}
New Episode
diff --git a/Show/templates/report.html b/Show/templates/report.html
index acf5e6d..30a01a8 100644
--- a/Show/templates/report.html
+++ b/Show/templates/report.html
@@ -33,8 +33,8 @@
- {{show.name}}
- {{episode.name}}
+ {{show.name}}
+ {{episode.name}}
Report
diff --git a/Show/templates/season_add.html b/Show/templates/season_add.html
index 70a0aa1..a80f1ba 100644
--- a/Show/templates/season_add.html
+++ b/Show/templates/season_add.html
@@ -7,7 +7,7 @@
- {{show.name}}
+ {{show.name}}
New Season
diff --git a/Show/templates/show.html b/Show/templates/show.html
index bdb1df0..0b4ffd9 100644
--- a/Show/templates/show.html
+++ b/Show/templates/show.html
@@ -42,14 +42,14 @@
{% if "can_moderate_show" in show_perms %}