This commit is contained in:
j 2021-11-21 11:58:48 +01:00
parent fb02ab3274
commit ac1ae37803
4 changed files with 4 additions and 6 deletions

View file

@ -433,7 +433,5 @@ if (config.annotations) {
} else { } else {
loadAnnotations(config) loadAnnotations(config)
} }
window.addEventListener('resize', resize, false); window.addEventListener('resize', resize, false);

View file

@ -20,7 +20,7 @@
</a> </a>
<nav> <nav>
<a href="{% url 'films' %}" class="animated-title"><span class="text">videos</a> <a href="{% url 'films' %}" class="animated-title"><span class="text">videos</a>
<a href="{% url 'texts' %}" class="animated-title"><span class="text">edits</a> <a href="{% url 'texts' %}" class="animated-title"><span class="text">cuts</a>
<a href="{% url 'about' %}" class="animated-title"><span class="text">about</a> <a href="{% url 'about' %}" class="animated-title"><span class="text">about</a>
</nav> </nav>
</div> </div>

View file

@ -56,7 +56,7 @@ class Text(models.Model):
return self.title return self.title
def get_absolute_url(self): def get_absolute_url(self):
return '/' + settings.URL_PREFIX + 'assemblies/' + self.slug return '/' + settings.URL_PREFIX + 'cuts/' + self.slug
def get_annotations(self): def get_annotations(self):
api = ox.api.signin(settings.DEFAULT_PANDORA_API) api = ox.api.signin(settings.DEFAULT_PANDORA_API)

View file

@ -31,8 +31,8 @@ urlpatterns = [
path(settings.URL_PREFIX + 'edit/<str:slug>/play/<str:lang>', video.edit_play, name='edit_play'), path(settings.URL_PREFIX + 'edit/<str:slug>/play/<str:lang>', video.edit_play, name='edit_play'),
path(settings.URL_PREFIX + 'edit/<str:slug>/', video.edit, name='edit'), path(settings.URL_PREFIX + 'edit/<str:slug>/', video.edit, name='edit'),
path(settings.URL_PREFIX + 'tv/', video.tv, name='tv'), path(settings.URL_PREFIX + 'tv/', video.tv, name='tv'),
path(settings.URL_PREFIX + 'assemblies/', text.texts, name='texts'), path(settings.URL_PREFIX + 'cuts/', text.texts, name='texts'),
path(settings.URL_PREFIX + 'assemblies/<str:slug>', text.text, name='text'), path(settings.URL_PREFIX + 'cuts/<str:slug>', text.text, name='text'),
#path(settings.URL_PREFIX + 'index-alt/', text.index_alt, name='index_alt'), #path(settings.URL_PREFIX + 'index-alt/', text.index_alt, name='index_alt'),
path(settings.URL_PREFIX + 'about/', text.about, name='about'), path(settings.URL_PREFIX + 'about/', text.about, name='about'),
path(settings.URL_PREFIX + 'contact/', contact, name='contact'), path(settings.URL_PREFIX + 'contact/', contact, name='contact'),