diff --git a/app/static/js/play.js b/app/static/js/play.js index 1cbd416..5fc56c7 100644 --- a/app/static/js/play.js +++ b/app/static/js/play.js @@ -317,10 +317,10 @@ function renderAnnotations(config) { var title_zh = film.title.split(' / ')[1] || title_en if (config.language == 'en') { var director = film.director ? ` (${film.director[0]})` : '' - html.push(`${title_en}${director}`) + html.push(`${title_en}${director}`) } else { var director = film.director ? ` (${film.director[1]})` : '' - html.push(`${title_zh}${director}`) + html.push(`${title_zh}${director}`) } }) var films = html.length == 1 ? 'Film' : 'Films' diff --git a/app/templates/index.html b/app/templates/index.html index 20d7a6a..7abd737 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -24,7 +24,7 @@

-
Films
+
Videos
Assemblies
diff --git a/app/video/models.py b/app/video/models.py index 322237c..fa5e9ae 100644 --- a/app/video/models.py +++ b/app/video/models.py @@ -28,7 +28,7 @@ class Film(models.Model): return self.data.get('title', self.slug) def get_absolute_url(self): - return '/' + settings.URL_PREFIX + 'film/' + self.slug + return '/' + settings.URL_PREFIX + 'video/' + self.slug def related_texts(self): from ..text.models import Text