Özcan Oğuz 5 years ago
parent 25210d7e73
commit 12bc2c7f04
Signed by: ooguz
GPG Key ID: 2D33E2BD3D975818
  1. 8
      mediagoblin-oyd/__init__.py
  2. 6
      mediagoblin-oyd/templates/oyd/banner.html
  3. 9
      mediagoblin-oyd/templates/oyd/join.html
  4. 3
      mediagoblin-oyd/templates/oyd/listing.html
  5. 3
      mediagoblin-oyd/templates/oyd/root.html
  6. 6
      mediagoblin-oyd/views.py
  7. 3
      setup.py

@ -1,4 +1,4 @@
# MediaGoblin for ÖYD
# Özgür Yazılım Derneği MediaGoblin eklentisi
# Copyright (C) 2015 David Thompson <davet@gnu.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
@ -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"}
)

@ -1,6 +1,7 @@
{#
# MediaGoblin for LibrePlanet
# Özgür Yazılım Derneği MediaGoblin eklentisi
# Copyright (C) 2017 Andrew Engelbrecht <andrew@fsf.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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 @@
</style>
<div style="position: absolute; margin-left: -30px; top: 0; width: 1000px;">
<iframe src="//static.fsf.org/nosvn/banners/libreplanet/libreplanet-banner.html" width="100%" height="64px" frameborder="0" scrolling="no"></iframe>
<iframe src="BANNER_URL" width="100%" height="64px" frameborder="0" scrolling="no"></iframe>
</div>
#}
@ -39,4 +40,3 @@
<div style="margin-top: 64px;"></div>
#}

@ -1,6 +1,7 @@
{#
# MediaGoblin for LibrePlanet
# Özgür Yazılım Derneği MediaGoblin eklentisi
# Copyright (C) 2017 Andrew Engelbrecht <andrew@fsf.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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 @@
}
</style>
{# for spacing below the banner; see banner.html template. -- sudoman 2017-03-09 #}
{# banner göstermek için yorumdan çıkartılacak #}
{#
<div style="margin-top: 64px;"></div>
#}
<div class="noselect" style="display: inline; margin-right: 40px;">
<div style="display: inline; margin-right: 40px;"><a href="https://www.oyd.org.tr" target="_blank">ÖYD</a></div>
<div class="noselect" style="display: inline; margin-right: 30px;">
<div style="display: inline; margin-right: 30px;"><a href="https://www.oyd.org.tr" target="_blank">ÖYD</a></div>
<a class="donate" href="https://bagis.oyd.org.tr" target="_blank">
{% trans %}Bağış{% endtrans %}
</a>

@ -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 <davet@gnu.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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

@ -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 <davet@gnu.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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

@ -1,5 +1,6 @@
# MediaGoblin for LibrePlanet
# Özgür Yazılım Derneği MediaGoblin eklentisi
# Copyright (C) 2015 David Thompson <davet@gnu.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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")

@ -1,5 +1,6 @@
# MediaGoblin for LibrePlanet
# Özgür Yazılım Derneği MediaGoblin eklentisi
# Copyright (C) 2015 David Thompson <davet@gnu.org>
# Copyright (C) 2020 Özcan Oğuz <ozcan@oyd.org.tr>
#
# 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

Loading…
Cancel
Save