Bozuk linkler düzeltildi, hatalı kod fix

master
Özcan Oğuz 4 years ago
parent 2c6e239833
commit 25210d7e73
Signed by: ooguz
GPG Key ID: 2D33E2BD3D975818
  1. 8
      mediagoblin-oyd/__init__.py
  2. 4
      mediagoblin-oyd/templates/libreplanet/join.html
  3. 8
      mediagoblin-oyd/templates/libreplanet/root.html

@ -99,14 +99,14 @@ def frontpage_view_hook():
return frontpage_view
register_routes([('all-videos', '/videos',
'mediagoblin.plugins.libreplanet.views:video_listing'),
'mediagoblin.plugins.mediagoblin-oyd.views:video_listing'),
('all-photos', '/photos',
'mediagoblin.plugins.libreplanet.views:image_listing'),
'mediagoblin.plugins.mediagoblin-oyd.views:image_listing'),
('featured-videos', '/videos/featured',
'mediagoblin.plugins.libreplanet.views:featured_video_listing'),
'mediagoblin.plugins.mediagoblin-oyd.views:featured_video_listing'),
('featured-photos', '/photos/featured',
'mediagoblin.plugins.libreplanet.views:featured_image_listing')
'mediagoblin.plugins.mediagoblin-oyd.views:featured_image_listing')
])
# This is a dict that specifies which hooks this plugin uses.

@ -26,7 +26,7 @@
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}
.campaign_donate {
.donate {
text-decoration: none;
background-color: #4C2447;
color: #cacaca;
@ -43,7 +43,7 @@
<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>
<a class="campaign_donate" href="https://bagis.oyd.org.tr" target="_blank">
<a class="donate" href="https://bagis.oyd.org.tr" target="_blank">
{% trans %}Bağış{% endtrans %}
</a>
</div>

@ -29,7 +29,7 @@
{% block mediagoblin_content %}
<h1>{% trans %}Özgür Yazılım Derneği'nin medya sunucusuna hoş geldiniz!{% endtrans %}</h1>
<img class="right_align" src="//oyd.org.tr/media.png" />
<img class="right_align" src="//oyd.org.tr/media.png" width="200px" />
<p>
{% trans %}Bu web sitesinde, <a href="https://oyd.org.tr" target="_blank">Özgür Yazılım Derneği</a>'nin yaptığı tüm medya çıktıları (belgeler, fotoğraflar, videolar, yayınlar vb.) bulunmaktadır.{% endtrans %}
</p>
@ -43,19 +43,19 @@
{{ media_grid(request, bultenler) }}
<div class="clear"></div>
<p>
<a href="/u/oyd/tag/yayinlar/">Tüm bültenler...</a>
<a href="/u/oyd/tag/bulten/">Tüm bültenler...</a>
</p>
<h2>{% trans %}Yayınlar{% endtrans %}</h2>
{{ media_grid(request, yayinlar) }}
<div class="clear"></div>
<p>
<a href="/u/oyd/tag/yayinlar/">Tüm yayınlar...</a>
<a href="/u/oyd/tag/yayin/">Tüm yayınlar...</a>
</p>
<h2>{% trans %}Logolar{% endtrans %}</h2>
{{ media_grid(request, logolar) }}
<div class="clear"></div>
<p>
<a href="/u/oyd/tag/yayinlar/">Tüm logolar...</a>
<a href="/u/oyd/tag/logo/">Tüm logolar...</a>
</p>
{# commenting out featured media sections for front page #}

Loading…
Cancel
Save