From 12bc2c7f0426943dac348f53d15c09a461fef178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zcan=20O=C4=9Fuz?= Date: Thu, 21 May 2020 21:30:38 +0300 Subject: [PATCH] RC1 --- mediagoblin-oyd/__init__.py | 8 ++++---- .../templates/{libreplanet => oyd}/banner.html | 6 +++--- mediagoblin-oyd/templates/{libreplanet => oyd}/join.html | 9 +++++---- .../templates/{libreplanet => oyd}/listing.html | 3 ++- mediagoblin-oyd/templates/{libreplanet => oyd}/root.html | 3 ++- mediagoblin-oyd/views.py | 6 +++--- setup.py | 3 ++- 7 files changed, 21 insertions(+), 17 deletions(-) rename mediagoblin-oyd/templates/{libreplanet => oyd}/banner.html (85%) rename mediagoblin-oyd/templates/{libreplanet => oyd}/join.html (84%) rename mediagoblin-oyd/templates/{libreplanet => oyd}/listing.html (91%) rename mediagoblin-oyd/templates/{libreplanet => oyd}/root.html (97%) diff --git a/mediagoblin-oyd/__init__.py b/mediagoblin-oyd/__init__.py index 9e4620b..a209792 100644 --- a/mediagoblin-oyd/__init__.py +++ b/mediagoblin-oyd/__init__.py @@ -1,4 +1,4 @@ -# MediaGoblin for ÖYD +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2015 David Thompson # Copyright (C) 2020 Özcan Oğuz # @@ -85,7 +85,7 @@ def frontpage_view(request): featured_videos = lp_media_for_type(request.db, u'mediagoblin.media_types.video', FEATURED_TAG, MAX_HOME_FEATURED_ITEMS) return render_to_response( - request, 'libreplanet/root.html', + request, 'oyd/root.html', {'images': images, 'videos': videos, 'logolar': logolar, @@ -117,6 +117,6 @@ hooks = { } register_template_hooks( - {'header_left': "libreplanet/banner.html", - 'header_extra': "libreplanet/join.html"} + {'header_left': "oyd/banner.html", + 'header_extra': "oyd/join.html"} ) diff --git a/mediagoblin-oyd/templates/libreplanet/banner.html b/mediagoblin-oyd/templates/oyd/banner.html similarity index 85% rename from mediagoblin-oyd/templates/libreplanet/banner.html rename to mediagoblin-oyd/templates/oyd/banner.html index 9a77763..3e28091 100644 --- a/mediagoblin-oyd/templates/libreplanet/banner.html +++ b/mediagoblin-oyd/templates/oyd/banner.html @@ -1,6 +1,7 @@ {# -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2017 Andrew Engelbrecht +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -23,7 +24,7 @@
- +
#} @@ -39,4 +40,3 @@
#} - diff --git a/mediagoblin-oyd/templates/libreplanet/join.html b/mediagoblin-oyd/templates/oyd/join.html similarity index 84% rename from mediagoblin-oyd/templates/libreplanet/join.html rename to mediagoblin-oyd/templates/oyd/join.html index 258d6a4..425919f 100644 --- a/mediagoblin-oyd/templates/libreplanet/join.html +++ b/mediagoblin-oyd/templates/oyd/join.html @@ -1,6 +1,7 @@ {# -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2017 Andrew Engelbrecht +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -36,13 +37,13 @@ } -{# for spacing below the banner; see banner.html template. -- sudoman 2017-03-09 #} +{# banner göstermek için yorumdan çıkartılacak #} {#
#} -
- +
+ diff --git a/mediagoblin-oyd/templates/libreplanet/listing.html b/mediagoblin-oyd/templates/oyd/listing.html similarity index 91% rename from mediagoblin-oyd/templates/libreplanet/listing.html rename to mediagoblin-oyd/templates/oyd/listing.html index 80f58c7..c1f65f4 100644 --- a/mediagoblin-oyd/templates/libreplanet/listing.html +++ b/mediagoblin-oyd/templates/oyd/listing.html @@ -1,7 +1,8 @@ {# -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2011, 2012 MediaGoblin contributors # Copyright (C) 2015 David Thompson +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/mediagoblin-oyd/templates/libreplanet/root.html b/mediagoblin-oyd/templates/oyd/root.html similarity index 97% rename from mediagoblin-oyd/templates/libreplanet/root.html rename to mediagoblin-oyd/templates/oyd/root.html index 57ce22f..3e8cc70 100644 --- a/mediagoblin-oyd/templates/libreplanet/root.html +++ b/mediagoblin-oyd/templates/oyd/root.html @@ -1,7 +1,8 @@ {# -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2011, 2012 MediaGoblin contributors # Copyright (C) 2015 David Thompson +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/mediagoblin-oyd/views.py b/mediagoblin-oyd/views.py index 4163f8e..69f6c30 100644 --- a/mediagoblin-oyd/views.py +++ b/mediagoblin-oyd/views.py @@ -1,5 +1,6 @@ -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2015 David Thompson +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -37,7 +38,7 @@ def type_listing(media_type, title, request, page, tag=None): return render_to_response( request, - 'libreplanet/listing.html', + 'oyd/listing.html', {'title': title, 'media_entries': media_entries, 'pagination': pagination}) @@ -59,4 +60,3 @@ def featured_image_listing(request, page): @uses_pagination def featured_video_listing(request, page): return type_listing(u'mediagoblin.media_types.video', 'Featured Videos', request, page, "featured") - diff --git a/setup.py b/setup.py index 9824701..7465eb7 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ -# MediaGoblin for LibrePlanet +# Özgür Yazılım Derneği MediaGoblin eklentisi # Copyright (C) 2015 David Thompson +# Copyright (C) 2020 Özcan Oğuz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by