From 991a0c911e25a48caf9d4e264bd61d921b6b6814 Mon Sep 17 00:00:00 2001 From: saksham1115 Date: Wed, 8 Jun 2016 16:50:03 +0000 Subject: [PATCH] Customize Interface in progress --- mediagoblin/edit/views.py | 9 +++++++++ .../mediagoblin/user_pages/custom_subtitles.html | 1 + mediagoblin/templates/mediagoblin/user_pages/media.html | 6 ++++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 mediagoblin/templates/mediagoblin/user_pages/custom_subtitles.html diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py index 8a4df903..0c66451f 100644 --- a/mediagoblin/edit/views.py +++ b/mediagoblin/edit/views.py @@ -578,3 +578,12 @@ def edit_metadata(request, media): 'mediagoblin/edit/metadata.html', {'form':form, 'media':media}) + + +@require_active_login +def custom_subtitles(request,path): + return render_to_response( + request, + "mediagoblin/templates/user_pages/custom_subtitles.html", + {"path": path} + ) \ No newline at end of file diff --git a/mediagoblin/templates/mediagoblin/user_pages/custom_subtitles.html b/mediagoblin/templates/mediagoblin/user_pages/custom_subtitles.html new file mode 100644 index 00000000..0457fcc3 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/user_pages/custom_subtitles.html @@ -0,0 +1 @@ +{{path}} \ No newline at end of file diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 529f638c..ed493390 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -238,9 +238,11 @@ -- 2.25.1