From oi-svn at pardus.org.tr Thu Feb 4 12:14:00 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 12:14:00 +0200 (EET) Subject: [Oi-commits] trunk/shipit - enable shipit Message-ID: <20100204101400.DF52649D0C2@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 12:14:00 2010 New Revision: 2912 Modified: trunk/shipit/urls.py Log: enable shipit --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/shipit/urls.py ================================================================= --- trunk/shipit/urls.py (original) +++ trunk/shipit/urls.py Thu Feb 4 12:14:00 2010 @@ -8,7 +8,7 @@ from django.conf.urls.defaults import * urlpatterns = patterns('oi.shipit.views', - #(r'^$', 'create_cdclient'), + (r'^$', 'create_cdclient'), (r'^gonderilecek/$', 'cdclient_list_to_send'), (r'^gonderildi/$', 'cdclient_list_sent'), (r'^gonderilmedi/$', 'cdclient_list_not_sent'), From oi-svn at pardus.org.tr Thu Feb 4 13:58:15 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 13:58:15 +0200 (EET) Subject: [Oi-commits] trunk/templates/forum - delete button for first post Message-ID: <20100204115815.07A8649D108@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 13:58:14 2010 New Revision: 2913 Modified: trunk/templates/forum/topic.html Log: delete button for first post --- topic.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/forum/topic.html ================================================================= --- trunk/templates/forum/topic.html (original) +++ trunk/templates/forum/topic.html Thu Feb 4 13:58:14 2010 @@ -102,7 +102,7 @@ g?ster {% endif %} - {% if perms.forum.delete_post and not forloop.first %} + {% if perms.forum.delete_post %}
From oi-svn at pardus.org.tr Thu Feb 4 16:32:06 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 16:32:06 +0200 (EET) Subject: [Oi-commits] trunk/templates/shipit - update version Message-ID: <20100204143206.2DD0C49D03B@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 16:32:05 2010 New Revision: 2914 Modified: trunk/templates/shipit/create_cdclient.html Log: update version --- create_cdclient.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/shipit/create_cdclient.html ================================================================= --- trunk/templates/shipit/create_cdclient.html (original) +++ trunk/templates/shipit/create_cdclient.html Thu Feb 4 16:32:05 2010 @@ -3,7 +3,7 @@

Pardus CD'si ?stek Formu


-

?zg?rl?ki?in CD G?nder projesi, Pardus kullanmak isteyen herkesin kolayca Pardus CD'si edinmesini ama?lamaktad?r. Bu kapsamda sadece 2,36 TL kargo ?cretini ?deyerek Pardus 2009 CD'si temin edebilirsiniz.

+

?zg?rl?ki?in CD G?nder projesi, Pardus kullanmak isteyen herkesin kolayca Pardus CD'si edinmesini ama?lamaktad?r. Bu kapsamda sadece 2,36 TL kargo ?cretini ?deyerek Pardus 2009.1 Anthropoides virgo CD'si temin edebilirsiniz.


CD G?nder projesi hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilir, CD temin etmek i?in sipari? formunu doldurabilirsiniz.


From oi-svn at pardus.org.tr Thu Feb 4 16:39:58 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 16:39:58 +0200 (EET) Subject: [Oi-commits] trunk/templates/shipit - update text Message-ID: <20100204143958.8D03949D165@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 16:39:58 2010 New Revision: 2915 Modified: trunk/templates/shipit/create_cdclient.html Log: update text --- create_cdclient.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/shipit/create_cdclient.html ================================================================= --- trunk/templates/shipit/create_cdclient.html (original) +++ trunk/templates/shipit/create_cdclient.html Thu Feb 4 16:39:58 2010 @@ -3,7 +3,7 @@

Pardus CD'si ?stek Formu


-

?zg?rl?ki?in CD G?nder projesi, Pardus kullanmak isteyen herkesin kolayca Pardus CD'si edinmesini ama?lamaktad?r. Bu kapsamda sadece 2,36 TL kargo ?cretini ?deyerek Pardus 2009.1 Anthropoides virgo CD'si temin edebilirsiniz.

+

?zg?rl?ki?in CD G?nder projesi, Pardus kullanmak isteyen herkesin "sadece kargo ?cretini ?deyerek" Pardus 2009.1 Anthropoides virgo CD'si edinmesini ama?lamaktad?r. Kargo firmas?yla g?r??meler s?rd???nden CD g?nderim ?creti yak?n bir zamanda a??klanacakt?r.


CD G?nder projesi hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilir, CD temin etmek i?in sipari? formunu doldurabilirsiniz.


From oi-svn at pardus.org.tr Thu Feb 4 17:47:52 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 17:47:52 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - 8px font size for 3 digit comments Message-ID: <20100204154752.6C12C49D168@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 17:47:52 2010 New Revision: 2916 Modified: trunk/media/css/new/object_lists.css Log: 8px font size for 3 digit comments --- object_lists.css | 1 + 1 file changed, 1 insertion(+) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Thu Feb 4 17:47:52 2010 @@ -34,6 +34,7 @@ text-align: left; width: 180px; float: left; + font-size: 8px; } .column .info a { text-decoration: none; From oi-svn at pardus.org.tr Thu Feb 4 18:01:24 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 18:01:24 +0200 (EET) Subject: [Oi-commits] trunk/templates - add shipit links and banners Message-ID: <20100204160124.BD16949D14D@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 18:01:24 2010 New Revision: 2917 Modified: trunk/templates/base.html trunk/templates/footer.html trunk/templates/forum/forum_base.html trunk/templates/menu.html Log: add shipit links and banners --- base.html | 3 +++ footer.html | 2 +- forum/forum_base.html | 3 +++ menu.html | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) Modified: trunk/templates/base.html ================================================================= --- trunk/templates/base.html (original) +++ trunk/templates/base.html Thu Feb 4 18:01:24 2010 @@ -77,6 +77,9 @@
+
+ cdgonder +
{% block rightcolumn_bottom %} {% endblock %} Modified: trunk/templates/footer.html ================================================================= --- trunk/templates/footer.html (original) +++ trunk/templates/footer.html Thu Feb 4 18:01:24 2010 @@ -9,6 +9,6 @@ Modified: trunk/templates/forum/forum_base.html ================================================================= --- trunk/templates/forum/forum_base.html (original) +++ trunk/templates/forum/forum_base.html Thu Feb 4 18:01:24 2010 @@ -62,6 +62,9 @@ + {% block sidebar_bottom %} {% endblock %} Modified: trunk/templates/menu.html ================================================================= --- trunk/templates/menu.html (original) +++ trunk/templates/menu.html Thu Feb 4 18:01:24 2010 @@ -21,6 +21,8 @@ Forum  At?lye +  + CD G?nder  From oi-svn at pardus.org.tr Thu Feb 4 18:06:55 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 18:06:55 +0200 (EET) Subject: [Oi-commits] trunk/templates - remove shipit banner from mainpage add to planet Message-ID: <20100204160655.C7BC949CB71@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 18:06:55 2010 New Revision: 2918 Modified: trunk/templates/base.html trunk/templates/feedjack/oi/post_list.html Log: remove shipit banner from mainpage add to planet --- base.html | 3 --- feedjack/oi/post_list.html | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) Modified: trunk/templates/base.html ================================================================= --- trunk/templates/base.html (original) +++ trunk/templates/base.html Thu Feb 4 18:06:55 2010 @@ -77,9 +77,6 @@ -
- cdgonder -
{% block rightcolumn_bottom %} {% endblock %} Modified: trunk/templates/feedjack/oi/post_list.html ================================================================= --- trunk/templates/feedjack/oi/post_list.html (original) +++ trunk/templates/feedjack/oi/post_list.html Thu Feb 4 18:06:55 2010 @@ -63,4 +63,7 @@

Son g?ncelleme

{{ last_modified }}

+
+ cdgonder +
{% endblock %} From oi-svn at pardus.org.tr Thu Feb 4 18:20:28 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Thu, 4 Feb 2010 18:20:28 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - fix image position in advanced search page Message-ID: <20100204162028.939F249D14C@ns1.pardus.org.tr> Author: gkmngrgn Date: Thu Feb 4 18:20:28 2010 New Revision: 2919 Modified: trunk/media/css/new/search.css Log: fix image position in advanced search page --- search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/media/css/new/search.css ================================================================= --- trunk/media/css/new/search.css (original) +++ trunk/media/css/new/search.css Thu Feb 4 18:20:28 2010 @@ -11,7 +11,7 @@ .searchresults .title img { float: right; position: relative; - top: -20px; + top: 8px; right: 10px; } .searchresults li { From oi-svn at pardus.org.tr Thu Feb 4 18:22:38 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 18:22:38 +0200 (EET) Subject: [Oi-commits] trunk/ideas/templates - add shipit banner to ideas and remove shop banner Message-ID: <20100204162238.71BEE49D149@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 18:22:38 2010 New Revision: 2920 Modified: trunk/ideas/templates/idea_base.html Log: add shipit banner to ideas and remove shop banner --- idea_base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/ideas/templates/idea_base.html ================================================================= --- trunk/ideas/templates/idea_base.html (original) +++ trunk/ideas/templates/idea_base.html Thu Feb 4 18:22:38 2010 @@ -83,7 +83,7 @@ {% endblock %} {% block sidebar_bottom %} {% endblock %} From oi-svn at pardus.org.tr Thu Feb 4 19:07:49 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 19:07:49 +0200 (EET) Subject: [Oi-commits] trunk/templates - w3 Message-ID: <20100204170749.1BC4849D08D@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 19:07:48 2010 New Revision: 2921 Modified: trunk/templates/home.html Log: w3 --- home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/home.html ================================================================= --- trunk/templates/home.html (original) +++ trunk/templates/home.html Thu Feb 4 19:07:48 2010 @@ -38,7 +38,7 @@ {% endfor %} -
{% for news in news %}{% endfor %}
+
{% for news in news %}.{% endfor %}
?nceki haberSonraki haber From oi-svn at pardus.org.tr Thu Feb 4 19:27:39 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 19:27:39 +0200 (EET) Subject: [Oi-commits] trunk/ideas/templates - fix idea validation Message-ID: <20100204172739.22C6549D105@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 19:27:39 2010 New Revision: 2922 Modified: trunk/ideas/templates/idea_top.html Log: fix idea validation --- idea_top.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/ideas/templates/idea_top.html ================================================================= --- trunk/ideas/templates/idea_top.html (original) +++ trunk/ideas/templates/idea_top.html Thu Feb 4 19:27:39 2010 @@ -4,7 +4,7 @@
{{ idea.vote_count }}
- +
From oi-svn at pardus.org.tr Thu Feb 4 19:32:05 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 19:32:05 +0200 (EET) Subject: [Oi-commits] trunk/templates/tema - fix theme validation Message-ID: <20100204173205.C17B449D0B8@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 19:32:05 2010 New Revision: 2923 Modified: trunk/templates/tema/themeitem_list.html Log: fix theme validation --- themeitem_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/tema/themeitem_list.html ================================================================= --- trunk/templates/tema/themeitem_list.html (original) +++ trunk/templates/tema/themeitem_list.html Thu Feb 4 19:32:05 2010 @@ -23,5 +23,5 @@ {% endfor %}
-{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} i?erik bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} i?erik bulunmaktad?r.
{% endif %} {% endblock %} From oi-svn at pardus.org.tr Thu Feb 4 19:36:49 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 19:36:49 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - make all 8px Message-ID: <20100204173649.0B55F49CAD8@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 19:36:48 2010 New Revision: 2924 Modified: trunk/media/css/new/object_lists.css Log: make all 8px --- object_lists.css | 2 ++ 1 file changed, 2 insertions(+) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Thu Feb 4 19:36:48 2010 @@ -34,6 +34,8 @@ text-align: left; width: 180px; float: left; +} +.column .info, .column .info b { font-size: 8px; } .column .info a { From oi-svn at pardus.org.tr Thu Feb 4 19:45:58 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Thu, 4 Feb 2010 19:45:58 +0200 (EET) Subject: [Oi-commits] trunk - for w3 validation Message-ID: <20100204174558.DD7C949D174@ns1.pardus.org.tr> Author: jnmbk Date: Thu Feb 4 19:45:58 2010 New Revision: 2925 Modified: trunk/media/js/forum_update_latest.js trunk/templates/forum/latest_posts_small.html Log: for w3 validation --- media/js/forum_update_latest.js | 6 +++--- templates/forum/latest_posts_small.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: trunk/media/js/forum_update_latest.js ================================================================= --- trunk/media/js/forum_update_latest.js (original) +++ trunk/media/js/forum_update_latest.js Thu Feb 4 19:45:58 2010 @@ -2,13 +2,13 @@ if (data) { //remove non-existent $(".latest > .post").each(function(i) { - if (data.indexOf(this.id)<0) { + if (data.indexOf(parseInt(this.id.replace("id","")))<0) { $(this).addClass("tohide"); } }); //insert new data $(data).each(function(i) { - if ($(".latest").html().indexOf(this.id)<0) { + if ($(".latest").html().indexOf(parseInt(this.id.replace("id","")))<0) { $(this).addClass("newcomer"); $(".latest").prepend(this); } @@ -24,7 +24,7 @@ } var t; function updatePosts(delay) { - var id = $(".latest > .post")[0].id; + var id = $(".latest > .post")[0].id.replace("id",""); $(".ajaxloader").show(); $.get("/forum/son-iletiler/"+id+"/", syncData); t = setTimeout("updatePosts(" + delay + ")", delay); Modified: trunk/templates/forum/latest_posts_small.html ================================================================= --- trunk/templates/forum/latest_posts_small.html (original) +++ trunk/templates/forum/latest_posts_small.html Thu Feb 4 19:45:58 2010 @@ -1,5 +1,5 @@ {% for topic in latest_posts %} -
+
From oi-svn at pardus.org.tr Fri Feb 5 12:27:42 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 5 Feb 2010 12:27:42 +0200 (EET) Subject: [Oi-commits] trunk - purge deprecated modules. we will update our serve... Message-ID: <20100205102742.432E549CCCC@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 5 12:27:41 2010 New Revision: 2926 Modified: trunk/feedjack/fjcache.py trunk/forum/models.py trunk/piyango/models.py trunk/profile/models.py trunk/shipit/models.py Log: purge deprecated modules. we will update our servers from 2008 to corporate2. --- feedjack/fjcache.py | 5 ++++- forum/models.py | 5 ++++- piyango/models.py | 5 ++++- profile/models.py | 6 +++++- shipit/models.py | 6 +++++- 5 files changed, 22 insertions(+), 5 deletions(-) Modified: trunk/feedjack/fjcache.py ================================================================= --- trunk/feedjack/fjcache.py (original) +++ trunk/feedjack/fjcache.py Fri Feb 5 12:27:41 2010 @@ -6,7 +6,10 @@ fjcache.py """ -import md5 +try: + from hashlib import md5 +except ImportError: + import md5 from django.core.cache import cache Modified: trunk/forum/models.py ================================================================= --- trunk/forum/models.py (original) +++ trunk/forum/models.py Fri Feb 5 12:27:41 2010 @@ -16,7 +16,10 @@ from oi.forum.settings import FORUM_FROM_EMAIL -import md5 +try: + from hashlib import md5 +except ImportError: + import md5 class Post(models.Model): """ Modified: trunk/piyango/models.py ================================================================= --- trunk/piyango/models.py (original) +++ trunk/piyango/models.py Fri Feb 5 12:27:41 2010 @@ -6,7 +6,10 @@ # See the file http://www.gnu.org/copyleft/gpl.txt. import random -import sha +try: + from hashlib import sha1 as sha +except ImportError: + import sha from django.db import models from django.contrib.sites.models import Site Modified: trunk/profile/models.py ================================================================= --- trunk/profile/models.py (original) +++ trunk/profile/models.py Fri Feb 5 12:27:41 2010 @@ -5,7 +5,11 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt. -import re, random, datetime, sha +import re, random, datetime +try: + from hashlib import sha1 as sha +except ImportError: + import sha from django.db import models from django.contrib.auth.models import User Modified: trunk/shipit/models.py ================================================================= --- trunk/shipit/models.py (original) +++ trunk/shipit/models.py Fri Feb 5 12:27:41 2010 @@ -5,7 +5,11 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt. -import random, sha +import random +try: + from hashlib import sha1 as sha +except ImportError: + import sha from django.db import models from django.contrib.sites.models import Site From gkmngrgn at gmail.com Fri Feb 5 12:37:31 2010 From: gkmngrgn at gmail.com (=?ISO-8859-1?Q?G=F6kmen_G=F6rgen?=) Date: Fri, 5 Feb 2010 12:37:31 +0200 Subject: [Oi-commits] trunk - purge deprecated modules. we will update our serve... In-Reply-To: <20100205102742.432E549CCCC@ns1.pardus.org.tr> References: <20100205102742.432E549CCCC@ns1.pardus.org.tr> Message-ID: <579eef481002050237i4529f2c6g6ca11036820ba38e@mail.gmail.com> On 5 February 2010 12:27, G?kmen G?rgen wrote: > Author: gkmngrgn > Date: Fri Feb 5 12:27:41 2010 > New Revision: 2926 > > Modified: > trunk/feedjack/fjcache.py > trunk/forum/models.py > trunk/piyango/models.py > trunk/profile/models.py > trunk/shipit/models.py > Log: > purge deprecated modules. we will update our servers from 2008 to > corporate2. > > Kurumsal2'de Python'un 2.6.4 s?r?m? olmas?ndan faydalanmak i?in; try except kullanarak "geriye uyumlu" ve "kodu yeni mod?lleri kullanacak" ?ekilde g?ncelledim. Afiyet. -- gkmngrgn ~ http://www.gokmengorgen.net -------------- sonraki b?l?m -------------- Bir HTML eklentisi temizlendi... URL: From eren at pardus.org.tr Fri Feb 5 12:40:46 2010 From: eren at pardus.org.tr (Eren =?utf-8?q?T=C3=BCrkay?=) Date: Fri, 5 Feb 2010 12:40:46 +0200 Subject: [Oi-commits] trunk - purge deprecated modules. we will update our serve... In-Reply-To: <579eef481002050237i4529f2c6g6ca11036820ba38e@mail.gmail.com> References: <20100205102742.432E549CCCC@ns1.pardus.org.tr> <579eef481002050237i4529f2c6g6ca11036820ba38e@mail.gmail.com> Message-ID: <201002051240.46211.eren@pardus.org.tr> On Friday 05 February 2010 12:37:31 pm G?kmen G?rgen wrote: > Kurumsal2'de Python'un 2.6.4 s?r?m? olmas?ndan faydalanmak i?in; try except > kullanarak "geriye uyumlu" ve "kodu yeni mod?lleri kullanacak" ?ekilde > g?ncelledim. > Eline sa?l?k :) -- Eren From oi-svn at pardus.org.tr Fri Feb 5 14:43:21 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 5 Feb 2010 14:43:21 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - images that are in sidebar bottom column should be... Message-ID: <20100205124321.4FDF149D243@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 5 14:43:21 2010 New Revision: 2927 Modified: trunk/media/css/new/st.css Log: images that are in sidebar bottom column should be forced to same width --- st.css | 1 + 1 file changed, 1 insertion(+) Modified: trunk/media/css/new/st.css ================================================================= --- trunk/media/css/new/st.css (original) +++ trunk/media/css/new/st.css Fri Feb 5 14:43:21 2010 @@ -89,6 +89,7 @@ } div.sidebar_bottom_content img { margin-bottom: 10px; + width: 100%; } div#ooxmlbar { margin: 10px; From gkmngrgn at gmail.com Fri Feb 5 14:53:33 2010 From: gkmngrgn at gmail.com (=?ISO-8859-1?Q?G=F6kmen_G=F6rgen?=) Date: Fri, 5 Feb 2010 14:53:33 +0200 Subject: [Oi-commits] trunk/media/css/new - images that are in sidebar bottom column should be... In-Reply-To: <579eef481002050445l3eab716bge36827120c335e9a@mail.gmail.com> References: <20100205124321.4FDF149D243@ns1.pardus.org.tr> <579eef481002050445l3eab716bge36827120c335e9a@mail.gmail.com> Message-ID: <579eef481002050453td68a875jafcee485bf4805ba@mail.gmail.com> On 5 February 2010 14:43, G?kmen G?rgen wrote: > Author: gkmngrgn > Date: Fri Feb 5 14:43:21 2010 > New Revision: 2927 > > Modified: > trunk/media/css/new/st.css > Log: > images that are in sidebar bottom column should be forced to same width > > Aradaki fark? anlamak i?in resim (sa?daki son hali): http://omploader.org/vM2doMA/first_oi.png -- gkmngrgn ~ http://www.gokmengorgen.net -- gkmngrgn ~ http://www.gokmengorgen.net -------------- sonraki b?l?m -------------- Bir HTML eklentisi temizlendi... URL: From oi-svn at pardus.org.tr Fri Feb 5 15:07:01 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 5 Feb 2010 15:07:01 +0200 (EET) Subject: [Oi-commits] trunk/media/img - width: 314px Message-ID: <20100205130701.40D4049CBFC@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 5 15:07:01 2010 New Revision: 2928 Modified: trunk/media/img/oi-edergi-18-kapak.png Log: width: 314px Modified: trunk/media/img/oi-edergi-18-kapak.png ================================================================= Binary files. No diff available. From oi-svn at pardus.org.tr Fri Feb 5 18:05:02 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 5 Feb 2010 18:05:02 +0200 (EET) Subject: [Oi-commits] trunk - it crashes. for now, we should release cdgonder pa... Message-ID: <20100205160502.41E8249CD9A@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 5 18:05:02 2010 New Revision: 2929 Modified: trunk/feedjack/fjcache.py trunk/forum/models.py trunk/piyango/models.py trunk/profile/models.py trunk/shipit/models.py Log: it crashes. for now, we should release cdgonder page. i'll look it again. sorry for my inexperience. --- feedjack/fjcache.py | 9 +++++---- forum/models.py | 9 +++++---- piyango/models.py | 9 +++++---- profile/models.py | 9 +++++---- shipit/models.py | 9 +++++---- 5 files changed, 25 insertions(+), 20 deletions(-) Modified: trunk/feedjack/fjcache.py ================================================================= --- trunk/feedjack/fjcache.py (original) +++ trunk/feedjack/fjcache.py Fri Feb 5 18:05:02 2010 @@ -6,10 +6,11 @@ fjcache.py """ -try: - from hashlib import md5 -except ImportError: - import md5 +#try: +# from hashlib import md5 +#except ImportError: +# import md5 +import md5 from django.core.cache import cache Modified: trunk/forum/models.py ================================================================= --- trunk/forum/models.py (original) +++ trunk/forum/models.py Fri Feb 5 18:05:02 2010 @@ -16,10 +16,11 @@ from oi.forum.settings import FORUM_FROM_EMAIL -try: - from hashlib import md5 -except ImportError: - import md5 +#try: +# from hashlib import md5 +#except ImportError: +# import md5 +import md5 class Post(models.Model): """ Modified: trunk/piyango/models.py ================================================================= --- trunk/piyango/models.py (original) +++ trunk/piyango/models.py Fri Feb 5 18:05:02 2010 @@ -6,10 +6,11 @@ # See the file http://www.gnu.org/copyleft/gpl.txt. import random -try: - from hashlib import sha1 as sha -except ImportError: - import sha +#try: +# from hashlib import sha1 as sha +#except ImportError: +# import sha +import sha from django.db import models from django.contrib.sites.models import Site Modified: trunk/profile/models.py ================================================================= --- trunk/profile/models.py (original) +++ trunk/profile/models.py Fri Feb 5 18:05:02 2010 @@ -6,10 +6,11 @@ # See the file http://www.gnu.org/copyleft/gpl.txt. import re, random, datetime -try: - from hashlib import sha1 as sha -except ImportError: - import sha +#try: +# from hashlib import sha1 as sha +#except ImportError: +# import sha +import sha from django.db import models from django.contrib.auth.models import User Modified: trunk/shipit/models.py ================================================================= --- trunk/shipit/models.py (original) +++ trunk/shipit/models.py Fri Feb 5 18:05:02 2010 @@ -6,10 +6,11 @@ # See the file http://www.gnu.org/copyleft/gpl.txt. import random -try: - from hashlib import sha1 as sha -except ImportError: - import sha +#try: +# from hashlib import sha1 as sha +#except ImportError: +# import sha +import sha from django.db import models from django.contrib.sites.models import Site From oi-svn at pardus.org.tr Fri Feb 5 18:48:06 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 5 Feb 2010 18:48:06 +0200 (EET) Subject: [Oi-commits] trunk/templates/shipit - change paragraph Message-ID: <20100205164806.D9AF649D28A@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 5 18:48:06 2010 New Revision: 2930 Modified: trunk/templates/shipit/confirmed.html Log: change paragraph --- confirmed.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: trunk/templates/shipit/confirmed.html ================================================================= --- trunk/templates/shipit/confirmed.html (original) +++ trunk/templates/shipit/confirmed.html Fri Feb 5 18:48:06 2010 @@ -6,5 +6,6 @@ {% block content %}

Say?n {{ cdClient }},


-

Pardus CD iste?iniz onaylanm??t?r. CD g?nderildi?inde e-posta ile bilgilendirileceksiniz.

+

Pardus 2009.1 Anthropoides virgo CD iste?iniz al?nm??t?r. Kargo firmalar?yla g?r??melerimiz s?rd???nden g?nderim tarihi hen?z kesinle?memi?tir.

+

G?nderim tarihinin belli olmas?n? takiben, size bir do?rulama e-postas? g?nderece?iz.

{% endblock %} From oi-svn at pardus.org.tr Sat Feb 6 12:04:28 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:04:28 +0200 (EET) Subject: [Oi-commits] trunk/templates/shipit - text changes Message-ID: <20100206100428.7024349CDA4@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:04:28 2010 New Revision: 2931 Modified: trunk/templates/shipit/create_cdclient.html Log: text changes --- create_cdclient.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/templates/shipit/create_cdclient.html ================================================================= --- trunk/templates/shipit/create_cdclient.html (original) +++ trunk/templates/shipit/create_cdclient.html Sat Feb 6 12:04:28 2010 @@ -3,9 +3,9 @@

Pardus CD'si ?stek Formu


-

?zg?rl?ki?in CD G?nder projesi, Pardus kullanmak isteyen herkesin "sadece kargo ?cretini ?deyerek" Pardus 2009.1 Anthropoides virgo CD'si edinmesini ama?lamaktad?r. Kargo firmas?yla g?r??meler s?rd???nden CD g?nderim ?creti yak?n bir zamanda a??klanacakt?r.

+

?zg?rl?ki?in CD G?nder Projesi, Pardus kullanmak isteyen herkesin "sadece kargo ?cretini" ?deyerek Pardus 2009.1 Anthropoides virgo CD'si edinmesini ama?lamaktad?r. Kargo firmas?yla g?r??meler s?rd???nden, CD g?nderim ?creti yak?n bir zamanda a??klanacakt?r.


-

CD G?nder projesi hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilir, CD temin etmek i?in sipari? formunu doldurabilirsiniz.

+

CD G?nder Projesi hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilir, CD temin etmek i?in sipari? formunu doldurabilirsiniz.


{% if flood %}
L?tfen formu tekrar g?ndermeden ?nce {{ timeout }} saniye bekleyiniz.
{% endif %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} From oi-svn at pardus.org.tr Sat Feb 6 12:17:27 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:17:27 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - fix size Message-ID: <20100206101727.EF25A49CDA4@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:17:27 2010 New Revision: 2932 Modified: trunk/media/css/new/object_lists.css Log: fix size --- object_lists.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Sat Feb 6 12:17:27 2010 @@ -35,7 +35,7 @@ width: 180px; float: left; } -.column .info, .column .info b { +.column .info, .column .info a { font-size: 8px; } .column .info a { From oi-svn at pardus.org.tr Sat Feb 6 12:19:44 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:19:44 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - make it span Message-ID: <20100206101944.DFBAE49CDA4@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:19:44 2010 New Revision: 2933 Modified: trunk/media/css/new/object_lists.css Log: make it span --- object_lists.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Sat Feb 6 12:19:44 2010 @@ -35,7 +35,7 @@ width: 180px; float: left; } -.column .info, .column .info a { +.column .info, .column .info span { font-size: 8px; } .column .info a { From oi-svn at pardus.org.tr Sat Feb 6 12:21:45 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:21:45 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - make it 9px Message-ID: <20100206102145.AC94749CE2C@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:21:45 2010 New Revision: 2934 Modified: trunk/media/css/new/object_lists.css Log: make it 9px --- object_lists.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Sat Feb 6 12:21:45 2010 @@ -35,8 +35,8 @@ width: 180px; float: left; } -.column .info, .column .info span { - font-size: 8px; +.column .info, .column .info a, .column .info span { + font-size: 9px; } .column .info a { text-decoration: none; From oi-svn at pardus.org.tr Sat Feb 6 12:26:23 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:26:23 +0200 (EET) Subject: [Oi-commits] trunk/media/css/new - 11px Message-ID: <20100206102623.2EB6749CDD0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:26:23 2010 New Revision: 2935 Modified: trunk/media/css/new/object_lists.css Log: 11px --- object_lists.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/media/css/new/object_lists.css ================================================================= --- trunk/media/css/new/object_lists.css (original) +++ trunk/media/css/new/object_lists.css Sat Feb 6 12:26:23 2010 @@ -36,7 +36,7 @@ float: left; } .column .info, .column .info a, .column .info span { - font-size: 9px; + font-size: 11px; } .column .info a { text-decoration: none; From oi-svn at pardus.org.tr Sat Feb 6 12:50:05 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 12:50:05 +0200 (EET) Subject: [Oi-commits] trunk/templates/tema - swap image in tema Message-ID: <20100206105005.4C61649CCF0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 12:50:05 2010 New Revision: 2936 Modified: trunk/templates/tema/theme_base_without_ezine.html Log: swap image in tema --- theme_base_without_ezine.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/tema/theme_base_without_ezine.html ================================================================= --- trunk/templates/tema/theme_base_without_ezine.html (original) +++ trunk/templates/tema/theme_base_without_ezine.html Sat Feb 6 12:50:05 2010 @@ -79,7 +79,7 @@
- t-shirt + cdgonder
{% block rightcolumn_bottom %} {% endblock %} From oi-svn at pardus.org.tr Sat Feb 6 13:22:51 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 13:22:51 +0200 (EET) Subject: [Oi-commits] trunk/ideas - order by package name Message-ID: <20100206112251.525D349CC54@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 13:22:51 2010 New Revision: 2937 Modified: trunk/ideas/forms.py Log: order by package name --- forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: trunk/ideas/forms.py ================================================================= --- trunk/ideas/forms.py (original) +++ trunk/ideas/forms.py Sat Feb 6 13:22:51 2010 @@ -2,13 +2,14 @@ # -*- coding: utf-8 -*- from django import forms -from oi.ideas.models import Idea, RelatedCategory, Status +from oi.ideas.models import Idea, RelatedCategory, Status, Related from oi.st.forms import XssField class CommentForm(forms.Form): text = forms.CharField(label="Yorumunuz", required=True, widget=forms.Textarea(attrs={ 'cols':'83%', 'rows':'7'})) class NewIdeaForm(forms.ModelForm): + related_to = forms.ModelChoiceField(queryset=Related.objects.order_by("name"), required=False, label="?u paketle ilgili", help_text="Bu alan? bo? b?rakabilirsiniz.") class Meta: model = Idea exclude = ('file',"submitter", "status", "vote_count", "duplicate", "is_hidden", "is_duplicate", "comment_count", "topic") From oi-svn at pardus.org.tr Sat Feb 6 15:00:28 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:00:28 +0200 (EET) Subject: [Oi-commits] trunk - revert latest posts change Message-ID: <20100206130028.24C1749CD79@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:00:27 2010 New Revision: 2938 Added: trunk/media/js/forum_update_latest.js - copied unchanged from r2924, trunk/media/js/forum_update_latest.js trunk/templates/forum/latest_posts_small.html - copied unchanged from r2924, trunk/templates/forum/latest_posts_small.html Log: revert latest posts change --- media/js/forum_update_latest.js | 70 ++++++++++++++++---------------- templates/forum/latest_posts_small.html | 16 +++---- 2 files changed, 43 insertions(+), 43 deletions(-) From oi-svn at pardus.org.tr Sat Feb 6 15:09:57 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:09:57 +0200 (EET) Subject: [Oi-commits] trunk/templates - w3 fix for all paginators Message-ID: <20100206130957.2103149CD79@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:09:56 2010 New Revision: 2939 Modified: trunk/templates/fs/fs_main.html trunk/templates/game/game_main.html trunk/templates/howto/howto_main.html trunk/templates/news/news_main.html trunk/templates/package/package_main.html trunk/templates/workshop/workshop_main.html Log: w3 fix for all paginators --- fs/fs_main.html | 2 +- game/game_main.html | 2 +- howto/howto_main.html | 2 +- news/news_main.html | 2 +- package/package_main.html | 2 +- workshop/workshop_main.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) Modified: trunk/templates/fs/fs_main.html ================================================================= --- trunk/templates/fs/fs_main.html (original) +++ trunk/templates/fs/fs_main.html Sat Feb 6 15:09:56 2010 @@ -22,7 +22,7 @@
{% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} ilk ad?m yaz?s? bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} ilk ad?m yaz?s? bulunmaktad?r.
{% endif %}
Modified: trunk/templates/game/game_main.html ================================================================= --- trunk/templates/game/game_main.html (original) +++ trunk/templates/game/game_main.html Sat Feb 6 15:09:56 2010 @@ -22,7 +22,7 @@ {% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} oyun incelemesi bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} oyun incelemesi bulunmaktad?r.
{% endif %} {% endblock %} {% block sidebar %} Modified: trunk/templates/howto/howto_main.html ================================================================= --- trunk/templates/howto/howto_main.html (original) +++ trunk/templates/howto/howto_main.html Sat Feb 6 15:09:56 2010 @@ -22,7 +22,7 @@ {% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} nas?l yaz?s? bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} nas?l yaz?s? bulunmaktad?r.
{% endif %} {% endblock %} {% block sidebar %} Modified: trunk/templates/news/news_main.html ================================================================= --- trunk/templates/news/news_main.html (original) +++ trunk/templates/news/news_main.html Sat Feb 6 15:09:56 2010 @@ -22,7 +22,7 @@ {% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} haber bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} haber bulunmaktad?r.
{% endif %} {% endblock %} {% block leftcolumn %} Modified: trunk/templates/package/package_main.html ================================================================= --- trunk/templates/package/package_main.html (original) +++ trunk/templates/package/package_main.html Sat Feb 6 15:09:56 2010 @@ -22,7 +22,7 @@ {% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} paket incelemesi bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} paket incelemesi bulunmaktad?r.
{% endif %} {% endblock %} {% block sidebar %} Modified: trunk/templates/workshop/workshop_main.html ================================================================= --- trunk/templates/workshop/workshop_main.html (original) +++ trunk/templates/workshop/workshop_main.html Sat Feb 6 15:09:56 2010 @@ -22,5 +22,5 @@ {% endfor %} -{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} at?lye yaz?s? bulunmaktad?r.
{% endif %} +{% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} at?lye yaz?s? bulunmaktad?r.
{% endif %} {% endblock %} From oi-svn at pardus.org.tr Sat Feb 6 15:20:38 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:20:38 +0200 (EET) Subject: [Oi-commits] trunk/templates/shipit - validate Message-ID: <20100206132038.0604549CC46@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:20:37 2010 New Revision: 2940 Modified: trunk/templates/shipit/create_cdclient.html Log: validate --- create_cdclient.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/templates/shipit/create_cdclient.html ================================================================= --- trunk/templates/shipit/create_cdclient.html (original) +++ trunk/templates/shipit/create_cdclient.html Sat Feb 6 15:20:37 2010 @@ -1,6 +1,6 @@ {% extends "shipit/base.html" %} {% block content %} -
+

Pardus CD'si ?stek Formu


?zg?rl?ki?in CD G?nder Projesi, Pardus kullanmak isteyen herkesin "sadece kargo ?cretini" ?deyerek Pardus 2009.1 Anthropoides virgo CD'si edinmesini ama?lamaktad?r. Kargo firmas?yla g?r??meler s?rd???nden, CD g?nderim ?creti yak?n bir zamanda a??klanacakt?r.

@@ -29,6 +29,6 @@ {% endifnotequal %} {% endifequal %} {% endfor %} - +
{% endblock %} From oi-svn at pardus.org.tr Sat Feb 6 15:43:42 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:43:42 +0200 (EET) Subject: [Oi-commits] trunk/templates/forum - first hide button Message-ID: <20100206134342.168A649CC0F@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:43:41 2010 New Revision: 2941 Modified: trunk/templates/forum/topic.html Log: first hide button --- topic.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/forum/topic.html ================================================================= --- trunk/templates/forum/topic.html (original) +++ trunk/templates/forum/topic.html Sat Feb 6 15:43:41 2010 @@ -92,7 +92,7 @@ {% endifequal %} {% endif %} - {% if perms.forum.can_hide_post and not forloop.first and not post.hidden %} + {% if perms.forum.can_hide_post and not post.hidden %}
gizle
From oi-svn at pardus.org.tr Sat Feb 6 15:52:21 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:52:21 +0200 (EET) Subject: [Oi-commits] trunk/templates - fix in detail pages Message-ID: <20100206135221.2F45B49CC46@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:52:21 2010 New Revision: 2942 Modified: trunk/templates/game/game_detail.html trunk/templates/howto/howto_detail.html trunk/templates/news/news_detail.html trunk/templates/package/package_detail.html trunk/templates/workshop/workshop_detail.html Log: fix in detail pages --- game/game_detail.html | 2 +- howto/howto_detail.html | 2 +- news/news_detail.html | 2 +- package/package_detail.html | 2 +- workshop/workshop_detail.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) Modified: trunk/templates/game/game_detail.html ================================================================= --- trunk/templates/game/game_detail.html (original) +++ trunk/templates/game/game_detail.html Sat Feb 6 15:52:21 2010 @@ -20,7 +20,7 @@ {{ game.text|safe }}
-
{{ game.topic.posts|add:"-1" }} yorum
+
{{ game.topic.posts|add:"-1" }} yorum .
{% if user.is_authenticated %} {% if form %}

Modified: trunk/templates/howto/howto_detail.html ================================================================= --- trunk/templates/howto/howto_detail.html (original) +++ trunk/templates/howto/howto_detail.html Sat Feb 6 15:52:21 2010 @@ -19,7 +19,7 @@

{{ howto.text|safe }}
-
{{ howto.topic.posts|add:"-1" }} yorum
+
{{ howto.topic.posts|add:"-1" }} yorum .

{% if user.is_authenticated %} {% if form %} Modified: trunk/templates/news/news_detail.html ================================================================= --- trunk/templates/news/news_detail.html (original) +++ trunk/templates/news/news_detail.html Sat Feb 6 15:52:21 2010 @@ -25,7 +25,7 @@

- {{ news.topic.posts|add:"-1" }} yorum + {{ news.topic.posts|add:"-1" }} yorum .
{% if user.is_authenticated %} Modified: trunk/templates/package/package_detail.html ================================================================= --- trunk/templates/package/package_detail.html (original) +++ trunk/templates/package/package_detail.html Sat Feb 6 15:52:21 2010 @@ -20,7 +20,7 @@ {{ package.text|safe }} -
{{ package.topic.posts|add:"-1" }} yorum
+
{{ package.topic.posts|add:"-1" }} yorum .
{% if user.is_authenticated %} {% if form %}
Modified: trunk/templates/workshop/workshop_detail.html ================================================================= --- trunk/templates/workshop/workshop_detail.html (original) +++ trunk/templates/workshop/workshop_detail.html Sat Feb 6 15:52:21 2010 @@ -19,7 +19,7 @@
{{ workshop.text|safe }}
-
{{ workshop.topic.posts|add:"-1" }} yorum
+
{{ workshop.topic.posts|add:"-1" }} yorum .

{% if user.is_authenticated %} {% if form %} From oi-svn at pardus.org.tr Sat Feb 6 15:57:37 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 15:57:37 +0200 (EET) Subject: [Oi-commits] trunk/templates - more w3 fixes Message-ID: <20100206135737.1AB5A49CC51@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 15:57:36 2010 New Revision: 2943 Modified: trunk/templates/fs/fs_detail.html trunk/templates/game/game_detail.html trunk/templates/news/news_detail.html trunk/templates/package/package_detail.html trunk/templates/workshop/workshop_detail.html Log: more w3 fixes --- fs/fs_detail.html | 2 +- game/game_detail.html | 2 +- news/news_detail.html | 2 +- package/package_detail.html | 2 +- workshop/workshop_detail.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) Modified: trunk/templates/fs/fs_detail.html ================================================================= --- trunk/templates/fs/fs_detail.html (original) +++ trunk/templates/fs/fs_detail.html Sat Feb 6 15:57:36 2010 @@ -26,7 +26,7 @@

Etiketler

- {% for tag in fs.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %},{% endif %} {% endfor %} + etiketler {% for tag in fs.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %},{% endif %} {% endfor %}

{% if fs.videos.all %} Modified: trunk/templates/game/game_detail.html ================================================================= --- trunk/templates/game/game_detail.html (original) +++ trunk/templates/game/game_detail.html Sat Feb 6 15:57:36 2010 @@ -91,7 +91,7 @@

{{ game.path }}

Etiketler

-

{% for tag in game.tags.all %}{{ tag.name }}{% if not forloop.last %},{% endif %} {% endfor %}

+

etiketler {% for tag in game.tags.all %}{{ tag.name }}{% if not forloop.last %},{% endif %} {% endfor %}

{% if game.wiki.all %}

?lgili wiki sayfalar?

Modified: trunk/templates/news/news_detail.html ================================================================= --- trunk/templates/news/news_detail.html (original) +++ trunk/templates/news/news_detail.html Sat Feb 6 15:57:36 2010 @@ -47,7 +47,7 @@ {% block leftcolumn %}

Etiketler

-

{% for tag in news.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %}, {% endif %}{% endfor %} +

etiketler {% for tag in news.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %}, {% endif %}{% endfor %}


Yazar

Modified: trunk/templates/package/package_detail.html ================================================================= --- trunk/templates/package/package_detail.html (original) +++ trunk/templates/package/package_detail.html Sat Feb 6 15:57:36 2010 @@ -60,7 +60,7 @@

{{ package.path }}

Etiketler

- {% for tag in package.tags.all %}{{ tag.name }}{% if not forloop.last%},{% endif %} {% endfor %} + etiketler {% for tag in package.tags.all %}{{ tag.name }}{% if not forloop.last%},{% endif %} {% endfor %}

{% if package.wiki.all %}

?lgili wiki sayfalar?

Modified: trunk/templates/workshop/workshop_detail.html ================================================================= --- trunk/templates/workshop/workshop_detail.html (original) +++ trunk/templates/workshop/workshop_detail.html Sat Feb 6 15:57:36 2010 @@ -53,7 +53,7 @@ {% endif %}

Etiketler

-

{% for tag in workshop.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %},{% endif %} {% endfor %} +

etiketler {% for tag in workshop.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %},{% endif %} {% endfor %}

From oi-svn at pardus.org.tr Sat Feb 6 16:12:59 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 6 Feb 2010 16:12:59 +0200 (EET) Subject: [Oi-commits] trunk/templates/game - fix table Message-ID: <20100206141259.CB78D49CB85@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 6 16:12:59 2010 New Revision: 2944 Modified: trunk/templates/game/game_detail.html Log: fix table --- game_detail.html | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) Modified: trunk/templates/game/game_detail.html ================================================================= --- trunk/templates/game/game_detail.html (original) +++ trunk/templates/game/game_detail.html Sat Feb 6 16:12:59 2010 @@ -40,22 +40,20 @@

Bilgiler

-

- - - - - - - - - - - - - -
Lisans:{% for license in game.license.all %}{{ license.name }}{% endfor %}
Paket boyutu:{{ game.download_size|filesizeformat }}
Kurulu boyutu:{{ game.installed_size|filesizeformat }}

Oyunun Web Sitesi
-

+ + + + + + + + + + + + + +
Lisans:{% for license in game.license.all %}{{ license.name }}{% endfor %}
Paket boyutu:{{ game.download_size|filesizeformat }}
Kurulu boyutu:{{ game.installed_size|filesizeformat }}

Oyunun Web Sitesi

De?erlendirme

??renme s?resi: {{ game.learning_time }}

From oi-svn at pardus.org.tr Sun Feb 7 10:45:09 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sun, 7 Feb 2010 10:45:09 +0200 (EET) Subject: [Oi-commits] trunk/templates/forum - remove delete button Message-ID: <20100207084510.22BB549CC05@ns1.pardus.org.tr> Author: jnmbk Date: Sun Feb 7 10:45:09 2010 New Revision: 2945 Modified: trunk/templates/forum/topic.html Log: remove delete button --- topic.html | 20 -------------------- 1 file changed, 20 deletions(-) Modified: trunk/templates/forum/topic.html ================================================================= --- trunk/templates/forum/topic.html (original) +++ trunk/templates/forum/topic.html Sun Feb 7 10:45:09 2010 @@ -102,26 +102,6 @@ g?ster
{% endif %} - {% if perms.forum.delete_post %} -
- - - -
- {% else %} - {% ifequal post.author.id request.user.id %} - {% ifequal post topic.topic_latest_post %} - {% if not forloop.first %} -
-
- -
-
- {% endif %} - {% endifequal %} - {% endifequal %} - {% endif %} - {% endif %}
{{ post.text|renderbbcode|safe }}
From oi-svn at pardus.org.tr Sun Feb 7 11:00:42 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sun, 7 Feb 2010 11:00:42 +0200 (EET) Subject: [Oi-commits] trunk/templates/forum - revert Message-ID: <20100207090042.E758E49CB52@ns1.pardus.org.tr> Author: jnmbk Date: Sun Feb 7 11:00:42 2010 New Revision: 2946 Added: trunk/templates/forum/topic.html - copied unchanged from r2944, trunk/templates/forum/topic.html Log: revert --- topic.html | 360 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 190 insertions(+), 170 deletions(-) From oi-svn at pardus.org.tr Sun Feb 7 11:03:21 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sun, 7 Feb 2010 11:03:21 +0200 (EET) Subject: [Oi-commits] trunk/forum - disable delete_post Message-ID: <20100207090321.C9B6B49CBA3@ns1.pardus.org.tr> Author: jnmbk Date: Sun Feb 7 11:03:21 2010 New Revision: 2947 Modified: trunk/forum/urls.py Log: disable delete_post --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/forum/urls.py ================================================================= --- trunk/forum/urls.py (original) +++ trunk/forum/urls.py Sun Feb 7 11:03:21 2010 @@ -35,7 +35,7 @@ (r'^tumunu-okunmus-say/$', 'oi.forum.views.mark_all_as_read'), (r'^raporla/(?P\d+)/$', 'oi.forum.views.report_abuse'), (r'^raporlanmis-iletiler/$', 'oi.forum.views.list_abuse'), - (r'^(?P.*)/(?P\d+)/delete/(?P\d+)/$','oi.forum.views.delete_post'), + #(r'^(?P.*)/(?P\d+)/delete/(?P\d+)/$','oi.forum.views.delete_post'), (r'^(?P.*)/new/$', 'oi.forum.views.new_topic'), (r'^(?P.*)/(?P\d+)/quote/(?P\d+)/$', 'oi.forum.views.reply'), (r'^(?P.*)/(?P\d+)/reply/$', 'oi.forum.views.reply'), From oi-svn at pardus.org.tr Tue Feb 9 11:21:31 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Tue, 9 Feb 2010 11:21:31 +0200 (EET) Subject: [Oi-commits] trunk/templates/forum - remove delete button from template Message-ID: <20100209092131.5B8F849CCFA@ns1.pardus.org.tr> Author: jnmbk Date: Tue Feb 9 11:21:31 2010 New Revision: 2948 Modified: trunk/templates/forum/topic.html Log: remove delete button from template --- topic.html | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) Modified: trunk/templates/forum/topic.html ================================================================= --- trunk/templates/forum/topic.html (original) +++ trunk/templates/forum/topic.html Tue Feb 9 11:21:31 2010 @@ -102,26 +102,7 @@ g?ster
{% endif %} - {% if perms.forum.delete_post %} -
-
- -
-
- {% else %} - {% ifequal post.author.id request.user.id %} - {% ifequal post topic.topic_latest_post %} - {% if not forloop.first %} -
-
- -
-
- {% endif %} - {% endifequal %} - {% endifequal %} - {% endif %} - {% endif %} + {% endif %}
{{ post.text|renderbbcode|safe }}
From oi-svn at pardus.org.tr Tue Feb 9 13:26:27 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Tue, 9 Feb 2010 13:26:27 +0200 (EET) Subject: [Oi-commits] trunk/scripts - package update script Message-ID: <20100209112627.C608349CB33@ns1.pardus.org.tr> Author: jnmbk Date: Tue Feb 9 13:26:27 2010 New Revision: 2949 Added: trunk/scripts/ideas_package_update.py Log: package update script --- ideas_package_update.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) From oi-svn at pardus.org.tr Tue Feb 9 14:52:06 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Tue, 9 Feb 2010 14:52:06 +0200 (EET) Subject: [Oi-commits] trunk/media/hackergotchi - new hackergotchi for denizegetuncay Message-ID: <20100209125206.85E7E49CBB4@ns1.pardus.org.tr> Author: jnmbk Date: Tue Feb 9 14:52:06 2010 New Revision: 2950 Modified: trunk/media/hackergotchi/denizegetuncay.png Log: new hackergotchi for denizegetuncay Modified: trunk/media/hackergotchi/denizegetuncay.png ================================================================= Binary files. No diff available. From oi-svn at pardus.org.tr Tue Feb 9 16:25:32 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Tue, 9 Feb 2010 16:25:32 +0200 (EET) Subject: [Oi-commits] trunk/templates - no 5, yes 40! no? yes yes! i know english :P Message-ID: <20100209142532.E721A49CB3B@ns1.pardus.org.tr> Author: gkmngrgn Date: Tue Feb 9 16:25:32 2010 New Revision: 2951 Modified: trunk/templates/base.html Log: no 5, yes 40! no? yes yes! i know english :P --- base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/base.html ================================================================= --- trunk/templates/base.html (original) +++ trunk/templates/base.html Tue Feb 9 16:25:32 2010 @@ -94,7 +94,7 @@ {% block petition %} {% endblock %} {% block sidebar_bottom_bottom %} From oi-svn at pardus.org.tr Fri Feb 12 14:00:58 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 14:00:58 +0200 (EET) Subject: [Oi-commits] trunk - disable piyango Message-ID: <20100212120058.EF6FE49CC1E@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 14:00:58 2010 New Revision: 2952 Modified: trunk/piyango/views.py trunk/templates/base.html trunk/templates/piyango/create_person.html Log: disable piyango --- piyango/views.py | 2 ++ templates/base.html | 8 ++------ templates/piyango/create_person.html | 29 ++--------------------------- 3 files changed, 6 insertions(+), 33 deletions(-) Modified: trunk/piyango/views.py ================================================================= --- trunk/piyango/views.py (original) +++ trunk/piyango/views.py Fri Feb 12 14:00:58 2010 @@ -18,6 +18,7 @@ from oi.settings import WEB_URL def create_person(request): + """ if request.method == "POST": form = PersonForm(request.POST.copy()) flood, timeout = flood_control(request) @@ -36,6 +37,7 @@ initial["email"] = request.user.email initial["city"] = request.user.get_profile().city form = PersonForm(initial=initial) + """ return render_response(request, "piyango/create_person.html", locals()) def confirm_person(request, id, hash): Modified: trunk/templates/base.html ================================================================= --- trunk/templates/base.html (original) +++ trunk/templates/base.html Fri Feb 12 14:00:58 2010 @@ -1,3 +1,4 @@ +{% load petition %} {% load ideas %} @@ -91,12 +92,7 @@

?zg?rl?ki?in'in ?imdi bir de e-dergisi var! Okumak i?in buraya t?klay?n.

{% endblock %} - {% block petition %} - - {% endblock %} + {% block petition %}{% petition_box %}{% endblock %} {% block sidebar_bottom_bottom %} {% endblock %} Modified: trunk/templates/piyango/create_person.html ================================================================= --- trunk/templates/piyango/create_person.html (original) +++ trunk/templates/piyango/create_person.html Fri Feb 12 14:00:58 2010 @@ -1,32 +1,7 @@ {% extends "piyango/base.html" %} {% block content %}
-

Geleneksel Pardus Piyongosu'na Kat?l?m Formu

+

Geleneksel Pardus Piyongosu


-

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilir, ?ekili?e kat?lmak i?in a?a??daki formu doldurabilirsiniz.

-
- {% if flood %}
L?tfen formu tekrar g?ndermeden ?nce {{ timeout }} saniye bekleyiniz.
{% endif %} - {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} - {% for field in form %} - {% ifequal field.name "phone_area" %} -
-
{{ field.label_tag }}
-
- {{ field }} {{ form.phone_number }} - {% if field.errors %}{{ field.errors }}{% endif %} - {% if form.phone_number.errors %}{{ form.phone_number.errors }}{% endif %} -
-
- {% if field.help_text %}{{ field.help_text }}{% endif %} -
-
-
- {% else %} - {% ifnotequal field.name "phone_number" %} - {% include "formfields.html" %} - {% endifnotequal %} - {% endifequal %} - {% endfor %} - -
+

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz. ?ekili? sonu?lar? yak?nda a??klanacakt?r.

{% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 14:04:52 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 14:04:52 +0200 (EET) Subject: [Oi-commits] trunk/media/ooxml - wider Message-ID: <20100212120452.3A1A449CC2D@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 14:04:52 2010 New Revision: 2953 Modified: trunk/media/ooxml/ooxmlekarsi.png Log: wider Modified: trunk/media/ooxml/ooxmlekarsi.png ================================================================= Binary files. No diff available. From oi-svn at pardus.org.tr Fri Feb 12 14:09:08 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 14:09:08 +0200 (EET) Subject: [Oi-commits] trunk/templates/piyango - typo and p Message-ID: <20100212120908.2AC1949CBAE@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 14:09:08 2010 New Revision: 2954 Modified: trunk/templates/piyango/create_person.html Log: typo and p --- create_person.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: trunk/templates/piyango/create_person.html ================================================================= --- trunk/templates/piyango/create_person.html (original) +++ trunk/templates/piyango/create_person.html Fri Feb 12 14:09:08 2010 @@ -1,7 +1,8 @@ {% extends "piyango/base.html" %} {% block content %}
-

Geleneksel Pardus Piyongosu

+

Geleneksel Pardus Piyangosu


-

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz. ?ekili? sonu?lar? yak?nda a??klanacakt?r.

+

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.

+

?ekili? sonu?lar? yak?nda a??klanacakt?r.

{% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 14:11:13 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 14:11:13 +0200 (EET) Subject: [Oi-commits] trunk/templates/piyango - little changes Message-ID: <20100212121113.3A74349CC30@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 14:11:13 2010 New Revision: 2955 Modified: trunk/templates/piyango/create_person.html Log: little changes --- create_person.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/templates/piyango/create_person.html ================================================================= --- trunk/templates/piyango/create_person.html (original) +++ trunk/templates/piyango/create_person.html Fri Feb 12 14:11:13 2010 @@ -3,6 +3,6 @@

Geleneksel Pardus Piyangosu


-

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.

-

?ekili? sonu?lar? yak?nda a??klanacakt?r.

+

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.


+

?ekili? sonu?lar? g?n i?inde a??klanacakt?r.

{% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 18:01:13 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 18:01:13 +0200 (EET) Subject: [Oi-commits] trunk - piyango updates Message-ID: <20100212160113.B007549CC51@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 18:01:13 2010 New Revision: 2956 Modified: trunk/piyango/views.py trunk/templates/piyango/create_person.html Log: piyango updates --- piyango/views.py | 4 ++++ templates/piyango/create_person.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) Modified: trunk/piyango/views.py ================================================================= --- trunk/piyango/views.py (original) +++ trunk/piyango/views.py Fri Feb 12 18:01:13 2010 @@ -8,6 +8,7 @@ from django.core.mail import EmailMessage from django.template import Context, loader from django.shortcuts import get_object_or_404 +from django.http import HttpResponseRedirect from oi.forum.views import flood_control from oi.piyango.forms import PersonForm @@ -41,6 +42,7 @@ return render_response(request, "piyango/create_person.html", locals()) def confirm_person(request, id, hash): + """ person = get_object_or_404(Person, id=id, hash=hash, confirmed=False) if Person.objects.filter(tcidentity=person.tcidentity, confirmed=True).count()>0: return HttpResponse("Bu TC kimlik numaras? daha ?nce kullan?lm??!") @@ -71,3 +73,5 @@ return render_response(request, "piyango/confirmed.html", locals()) + """ + return HttpResponseRedirect("/piyango/") Modified: trunk/templates/piyango/create_person.html ================================================================= --- trunk/templates/piyango/create_person.html (original) +++ trunk/templates/piyango/create_person.html Fri Feb 12 18:01:13 2010 @@ -4,5 +4,5 @@

Geleneksel Pardus Piyangosu


Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.


-

?ekili? sonu?lar? g?n i?inde a??klanacakt?r.

+

?ekili? sonu?lar? 13 ?ubat 2010 Cumartesi g?n? a??klanacakt?r.

{% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 18:09:02 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 18:09:02 +0200 (EET) Subject: [Oi-commits] trunk - revert forum delete buttons Message-ID: <20100212160902.95F0949C9CA@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 18:09:01 2010 New Revision: 2957 Added: trunk/forum/urls.py - copied unchanged from r2946, trunk/forum/urls.py trunk/templates/forum/topic.html - copied, changed from r2944, trunk/templates/forum/topic.html Log: revert forum delete buttons --- forum/urls.py | 116 +++++++------- templates/forum/topic.html | 361 +++++++++++++++++++++++---------------------- 2 files changed, 248 insertions(+), 229 deletions(-) Copied: trunk/templates/forum/topic.html (from r2944, trunk/templates/forum/topic.html) ================================================================= --- trunk/templates/forum/topic.html (original) +++ trunk/templates/forum/topic.html Fri Feb 12 18:09:01 2010 @@ -102,7 +102,7 @@ g?ster {% endif %} - {% if perms.forum.delete_post %} + {% if perms.forum.delete_post and not forloop.first %}
From oi-svn at pardus.org.tr Fri Feb 12 18:45:23 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 18:45:23 +0200 (EET) Subject: [Oi-commits] trunk/templates/piyango - empty line Message-ID: <20100212164523.E624549CB96@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 18:45:23 2010 New Revision: 2958 Modified: trunk/templates/piyango/create_person.html Log: empty line --- create_person.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: trunk/templates/piyango/create_person.html ================================================================= --- trunk/templates/piyango/create_person.html (original) +++ trunk/templates/piyango/create_person.html Fri Feb 12 18:45:23 2010 @@ -3,6 +3,7 @@

Geleneksel Pardus Piyangosu


-

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.


+

Piyango hakk?ndaki ilkelerimizi okumak i?in bu adresi ziyaret edebilirsiniz.

+

 

?ekili? sonu?lar? 13 ?ubat 2010 Cumartesi g?n? a??klanacakt?r.

{% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 19:00:18 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 19:00:18 +0200 (EET) Subject: [Oi-commits] trunk - initial podcast application Message-ID: <20100212170018.A551D49CD00@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 19:00:18 2010 New Revision: 2959 Added: trunk/podcast/ trunk/podcast/__init__.py trunk/podcast/admin.py trunk/podcast/models.py trunk/podcast/urls.py trunk/podcast/views.py trunk/templates/podcast/ trunk/templates/podcast/feed.html Log: initial podcast application --- podcast/__init__.py | 6 ++++ podcast/admin.py | 14 +++++++++++ podcast/models.py | 53 ++++++++++++++++++++++++++++++++++++++++++++ podcast/urls.py | 13 ++++++++++ podcast/views.py | 18 ++++++++++++++ templates/podcast/feed.html | 43 +++++++++++++++++++++++++++++++++++ 6 files changed, 147 insertions(+) From oi-svn at pardus.org.tr Fri Feb 12 20:19:27 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 20:19:27 +0200 (EET) Subject: [Oi-commits] trunk - podcast progress Message-ID: <20100212181927.376C249CE65@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 20:19:27 2010 New Revision: 2960 Modified: trunk/podcast/models.py trunk/podcast/views.py trunk/templates/podcast/feed.html Log: podcast progress --- podcast/models.py | 20 ++++++++++++++++---- podcast/views.py | 3 +++ templates/podcast/feed.html | 7 +++---- 3 files changed, 22 insertions(+), 8 deletions(-) Modified: trunk/podcast/models.py ================================================================= --- trunk/podcast/models.py (original) +++ trunk/podcast/models.py Fri Feb 12 20:19:27 2010 @@ -8,6 +8,10 @@ from django.db import models from django.contrib.auth.models import User +from oi.upload.models import Image +from oi.forum.models import Topic +from oi.forum.tools import create_forum_topic + class Author(models.Model): name = models.CharField('Ger?ek Ad?', max_length=64, blank=False, unique=True) user = models.ForeignKey(User, verbose_name="?? Kullan?c? Ad?", blank=True, null=True, help_text="Zorunlu de?il", related_name="podcast_author") @@ -32,9 +36,12 @@ verbose_name_plural = "Lisanslar" class Episode(models.Model): - title = models.CharField(max_length=64) - summary = models.TextField() - description = models.TextField() + title = models.CharField("Ba?l?k", max_length=32) + slug = models.SlugField("SEF Ba?l?k") + image = models.ForeignKey(Image, verbose_name="G?rsel", blank=True, null=True) + sum = models.TextField("?zet") + text = models.TextField("Metin") + tags = models.ManyToManyField(Tag) authors = models.ManyToManyField(Author) minutes = models.IntegerField() seconds = models.IntegerField() @@ -43,11 +50,16 @@ file_url_ogg = models.URLField() file_size_ogg = models.IntegerField() date = models.DateTimeField() - active = models.BooleanField() + status = models.BooleanField("Aktif") + topic = models.ForeignKey(Topic, verbose_name="Forumdaki Konusu") def __unicode__(self): return self.title + def save(self): + create_forum_topic(self, "Podcast") + super(Episode, self).save() + class Meta: verbose_name = "B?l?m" verbose_name_plural = "B?l?mler" Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Fri Feb 12 20:19:27 2010 @@ -7,12 +7,15 @@ from django.views.generic.list_detail import object_list +from oi.st.wrappers import render_response from oi.podcast.models import * +import oi.settings def main(request): episode_list = Episode.objects.filter(active=True) return render_response(request, 'podcast/main.html', locals()) def feed(request): + WEB_URL = settings.WEB_URL episode_list = Episode.objects.filter(active=True) return render_response(request, 'podcast/feed.html', locals()) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Fri Feb 12 20:19:27 2010 @@ -14,7 +14,7 @@ ?zg?rl?ki?in.com ozgurlukicin - ozgrulukicin at ozgurlukicin.com + info at pardus.org.tr ?zg?rl?ki?in Sohbetleri @@ -27,12 +27,11 @@ {{ episode.title }} {{ episode.file_url_mp3 }} {{ episode.description|striptags }} - {% for author in episode.authors.all %}{% if forloop.last %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}{% else %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}, {% endif %}{% endfor %} + {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} {{ episode.date|date:"r" }} GMT - {% for author in episode.authors.all %}{% if forloop.last %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}{% else %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}, {% endif %}{% endfor %} - {% if episode.subtitle %}{{ episode.subtitle }}{% endif %} + {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.summary|striptags }} {{ episode.minutes }}:{{ episode.seconds }} {{ episode.keywords }} From oi-svn at pardus.org.tr Fri Feb 12 20:21:17 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 12 Feb 2010 20:21:17 +0200 (EET) Subject: [Oi-commits] trunk/media/img/new/servicelinks - add googlebuzz icon Message-ID: <20100212182117.A7C6649CE65@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 12 20:21:17 2010 New Revision: 2961 Added: trunk/media/img/new/servicelinks/googlebuzz.png (contents, props changed) Log: add googlebuzz icon From oi-svn at pardus.org.tr Fri Feb 12 20:30:16 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 20:30:16 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - podcast fixes Message-ID: <20100212183016.483D849CD5B@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 20:30:16 2010 New Revision: 2962 Modified: trunk/templates/podcast/feed.html Log: podcast fixes --- feed.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Fri Feb 12 20:30:16 2010 @@ -26,15 +26,15 @@ {{ episode.title }} {{ episode.file_url_mp3 }} - {{ episode.description|striptags }} + {{ episode.text|striptags }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} {{ episode.date|date:"r" }} GMT {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} - {{ episode.summary|striptags }} + {{ episode.sum|striptags }} {{ episode.minutes }}:{{ episode.seconds }} - {{ episode.keywords }} + {% for tag in episode.tags.all %}{% if forloop.last %}{{ tag }}{% else %}{{ tag }}, {% endif %}{% endfor %} no {% endfor %} From oi-svn at pardus.org.tr Fri Feb 12 20:41:13 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 12 Feb 2010 20:41:13 +0200 (EET) Subject: [Oi-commits] trunk/templates/news - use google buzz service with google reader instead... Message-ID: <20100212184113.881C749CC23@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 12 20:41:13 2010 New Revision: 2963 Modified: trunk/templates/news/news_detail.html Log: use google buzz service with google reader instead of google bookmarks. --- news_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/news/news_detail.html ================================================================= --- trunk/templates/news/news_detail.html (original) +++ trunk/templates/news/news_detail.html Fri Feb 12 20:41:13 2010 @@ -64,7 +64,7 @@ identica'ya ekle twitter'a ekle stumbleupon'a ekle - google bookmarks'a ekle + google buzz'a ekle technorati'ye ekle

From oi-svn at pardus.org.tr Fri Feb 12 21:03:36 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 21:03:36 +0200 (EET) Subject: [Oi-commits] trunk - podcast listing page and fixes Message-ID: <20100212190336.E7F7149CE9D@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 21:03:36 2010 New Revision: 2964 Added: trunk/templates/podcast/main.html Modified: trunk/podcast/models.py Log: podcast listing page and fixes --- podcast/models.py | 3 ++- templates/podcast/main.html | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) Modified: trunk/podcast/models.py ================================================================= --- trunk/podcast/models.py (original) +++ trunk/podcast/models.py Fri Feb 12 21:03:36 2010 @@ -11,6 +11,7 @@ from oi.upload.models import Image from oi.forum.models import Topic from oi.forum.tools import create_forum_topic +from oi.st.tags import Tag class Author(models.Model): name = models.CharField('Ger?ek Ad?', max_length=64, blank=False, unique=True) @@ -49,7 +50,7 @@ file_size_mp3 = models.IntegerField() file_url_ogg = models.URLField() file_size_ogg = models.IntegerField() - date = models.DateTimeField() + update = models.DateTimeField() status = models.BooleanField("Aktif") topic = models.ForeignKey(Topic, verbose_name="Forumdaki Konusu") From oi-svn at pardus.org.tr Fri Feb 12 21:19:08 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 21:19:08 +0200 (EET) Subject: [Oi-commits] trunk/podcast - adapt Message-ID: <20100212191908.8C5AD49CA05@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 21:19:08 2010 New Revision: 2965 Modified: trunk/podcast/views.py Log: adapt --- views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Fri Feb 12 21:19:08 2010 @@ -12,10 +12,10 @@ import oi.settings def main(request): - episode_list = Episode.objects.filter(active=True) + episode_list = Episode.objects.filter(status=True) return render_response(request, 'podcast/main.html', locals()) def feed(request): WEB_URL = settings.WEB_URL - episode_list = Episode.objects.filter(active=True) + episode_list = Episode.objects.filter(status=True) return render_response(request, 'podcast/feed.html', locals()) From oi-svn at pardus.org.tr Fri Feb 12 21:24:59 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 21:24:59 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - fix template Message-ID: <20100212192459.3A00E49CCB3@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 21:24:59 2010 New Revision: 2966 Modified: trunk/templates/podcast/main.html Log: fix template --- main.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Fri Feb 12 21:24:59 2010 @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load library %} {% block title %}Podcast - {% endblock %} {% block extrahead %} @@ -21,7 +22,7 @@
- {% endfor %} + {% endwith %}
{% for episode in episode_list %}
@@ -36,4 +37,5 @@
{% endfor %}
+ {% if is_paginated %}
{% paginator %}
{{ pages }} sayfada toplam {{ hits }} podcast bulunmaktad?r.
{% endif %} {% endblock %} From oi-svn at pardus.org.tr Fri Feb 12 21:29:30 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Fri, 12 Feb 2010 21:29:30 +0200 (EET) Subject: [Oi-commits] trunk/podcast - typo Message-ID: <20100212192930.C0D9949CDBF@ns1.pardus.org.tr> Author: jnmbk Date: Fri Feb 12 21:29:30 2010 New Revision: 2967 Modified: trunk/podcast/views.py Log: typo --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Fri Feb 12 21:29:30 2010 @@ -16,6 +16,6 @@ return render_response(request, 'podcast/main.html', locals()) def feed(request): - WEB_URL = settings.WEB_URL + WEB_URL = oi.settings.WEB_URL episode_list = Episode.objects.filter(status=True) return render_response(request, 'podcast/feed.html', locals()) From oi-svn at pardus.org.tr Fri Feb 12 21:42:37 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 12 Feb 2010 21:42:37 +0200 (EET) Subject: [Oi-commits] trunk/templates/news - it's more clean (or cleaner) Message-ID: <20100212194237.9B8D749D1A2@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 12 21:42:37 2010 New Revision: 2968 Modified: trunk/templates/news/news_detail.html Log: it's more clean (or cleaner) --- news_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/news/news_detail.html ================================================================= --- trunk/templates/news/news_detail.html (original) +++ trunk/templates/news/news_detail.html Fri Feb 12 21:42:37 2010 @@ -64,7 +64,7 @@ identica'ya ekle twitter'a ekle stumbleupon'a ekle - google buzz'a ekle + google buzz'a ekle technorati'ye ekle

From oi-svn at pardus.org.tr Fri Feb 12 22:13:07 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?R8O2a21lbiBHw7ZyZ2Vu?=) Date: Fri, 12 Feb 2010 22:13:07 +0200 (EET) Subject: [Oi-commits] trunk/templates/news - fix null problem Message-ID: <20100212201307.C4C4F49CDEB@ns1.pardus.org.tr> Author: gkmngrgn Date: Fri Feb 12 22:13:07 2010 New Revision: 2969 Modified: trunk/templates/news/news_detail.html Log: fix null problem --- news_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/news/news_detail.html ================================================================= --- trunk/templates/news/news_detail.html (original) +++ trunk/templates/news/news_detail.html Fri Feb 12 22:13:07 2010 @@ -64,7 +64,7 @@ identica'ya ekle twitter'a ekle stumbleupon'a ekle - google buzz'a ekle + google buzz'a ekle technorati'ye ekle

From oi-svn at pardus.org.tr Sat Feb 13 10:46:20 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 10:46:20 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - indent fix Message-ID: <20100213084620.BF25849CEA0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 10:46:19 2010 New Revision: 2970 Modified: trunk/templates/podcast/main.html Log: indent fix --- main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 10:46:19 2010 @@ -26,7 +26,7 @@
{% for episode in episode_list %}
- {{ episode.image.get_alt_string }}
+ {{ episode.image.get_alt_string }}
g?lge
{{ episode.update|date:"d" }} {{ episode.update|date:"F"|slice:":3" }} {{ episode.update|date:"Y" }} / {{ episode.topic.posts|add:"-1" }} Yorum
From oi-svn at pardus.org.tr Sat Feb 13 11:17:05 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:17:05 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - fix date Message-ID: <20100213091705.9D23149CCD0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:17:05 2010 New Revision: 2971 Modified: trunk/templates/podcast/feed.html Log: fix date --- feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 11:17:05 2010 @@ -30,7 +30,7 @@ {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} - {{ episode.date|date:"r" }} GMT + {{ episode.update|date:"r" }} GMT {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.sum|striptags }} {{ episode.minutes }}:{{ episode.seconds }} From oi-svn at pardus.org.tr Sat Feb 13 11:36:38 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:36:38 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - feed fixes Message-ID: <20100213093638.EA52C49CD9D@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:36:38 2010 New Revision: 2972 Modified: trunk/templates/podcast/feed.html Log: feed fixes --- feed.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 11:36:38 2010 @@ -7,9 +7,7 @@ ?zg?rl?ki?in Podcast Yay?nlar? tr-TR ℗ & © {% now "Y" %} ?zg?rl?ki?in.com. Creative Commons: Attribution-Non-Commercial-Share Alike (by-nc-sa). - ?zg?rl?ki?in Toplulu?u - {{ episode_list.0.date|date:"r" }} - Django Web Framework + {{ episode_list.0.update|date:"r" }} +0200 http://blogs.law.harvard.edu/tech/rss ?zg?rl?ki?in.com @@ -17,6 +15,7 @@ info at pardus.org.tr ?zg?rl?ki?in Sohbetleri + @@ -30,10 +29,10 @@ {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} - {{ episode.update|date:"r" }} GMT + {{ episode.update|date:"r" }} +0200 {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.sum|striptags }} - {{ episode.minutes }}:{{ episode.seconds }} + 00:{{ episode.minutes }}:{{ episode.seconds }} {% for tag in episode.tags.all %}{% if forloop.last %}{{ tag }}{% else %}{{ tag }}, {% endif %}{% endfor %} no From oi-svn at pardus.org.tr Sat Feb 13 11:42:54 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:42:54 +0200 (EET) Subject: [Oi-commits] trunk - url for podcast Message-ID: <20100213094254.337E549CC0A@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:42:53 2010 New Revision: 2973 Modified: trunk/podcast/models.py trunk/templates/podcast/feed.html Log: url for podcast --- podcast/models.py | 3 +++ templates/podcast/feed.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) Modified: trunk/podcast/models.py ================================================================= --- trunk/podcast/models.py (original) +++ trunk/podcast/models.py Sat Feb 13 11:42:53 2010 @@ -61,6 +61,9 @@ create_forum_topic(self, "Podcast") super(Episode, self).save() + def get_absolute_url(self): + return "/podcast/bolum/%s/" % self.slug + class Meta: verbose_name = "B?l?m" verbose_name_plural = "B?l?mler" Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 11:42:53 2010 @@ -24,7 +24,7 @@ {% for episode in episode_list %} {{ episode.title }} - {{ episode.file_url_mp3 }} + {{ WEB_URL }}{{ episode.get_absolute_url }} {{ episode.text|striptags }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} From oi-svn at pardus.org.tr Sat Feb 13 11:50:24 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:50:24 +0200 (EET) Subject: [Oi-commits] trunk/podcast - send as xml Message-ID: <20100213095024.132EB49CC21@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:50:23 2010 New Revision: 2974 Modified: trunk/podcast/views.py Log: send as xml --- views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Sat Feb 13 11:50:23 2010 @@ -6,6 +6,8 @@ # See the file http://www.gnu.org/copyleft/gpl.txt. from django.views.generic.list_detail import object_list +from django.http import HttpResponse +from django.template import Context, loader from oi.st.wrappers import render_response from oi.podcast.models import * @@ -18,4 +20,5 @@ def feed(request): WEB_URL = oi.settings.WEB_URL episode_list = Episode.objects.filter(status=True) - return render_response(request, 'podcast/feed.html', locals()) + xml = loader.get_template("podcast/feed.html").render(Context(locals())) + return HttpResponse(xml, mimetype="text/xml") From oi-svn at pardus.org.tr Sat Feb 13 11:57:24 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:57:24 +0200 (EET) Subject: [Oi-commits] trunk/podcast - application/xml Message-ID: <20100213095724.BEC0249CDB0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:57:24 2010 New Revision: 2975 Modified: trunk/podcast/views.py Log: application/xml --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Sat Feb 13 11:57:24 2010 @@ -21,4 +21,4 @@ WEB_URL = oi.settings.WEB_URL episode_list = Episode.objects.filter(status=True) xml = loader.get_template("podcast/feed.html").render(Context(locals())) - return HttpResponse(xml, mimetype="text/xml") + return HttpResponse(xml, mimetype="application/xml") From oi-svn at pardus.org.tr Sat Feb 13 11:58:16 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 11:58:16 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - fix date again Message-ID: <20100213095816.7862849CDB0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 11:58:16 2010 New Revision: 2976 Modified: trunk/templates/podcast/feed.html Log: fix date again --- feed.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 11:58:16 2010 @@ -7,7 +7,7 @@ ?zg?rl?ki?in Podcast Yay?nlar? tr-TR ℗ & © {% now "Y" %} ?zg?rl?ki?in.com. Creative Commons: Attribution-Non-Commercial-Share Alike (by-nc-sa). - {{ episode_list.0.update|date:"r" }} +0200 + {{ episode_list.0.update|date:"r" }} http://blogs.law.harvard.edu/tech/rss ?zg?rl?ki?in.com @@ -19,7 +19,7 @@ - no + no {% for episode in episode_list %} @@ -29,7 +29,7 @@ {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} - {{ episode.update|date:"r" }} +0200 + {{ episode.update|date:"r" }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.sum|striptags }} 00:{{ episode.minutes }}:{{ episode.seconds }} From oi-svn at pardus.org.tr Sat Feb 13 12:35:06 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 12:35:06 +0200 (EET) Subject: [Oi-commits] trunk - rfc822 datetime formatting Message-ID: <20100213103506.92E3F49CCD2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 12:35:04 2010 New Revision: 2977 Modified: trunk/st/templatetags/library.py trunk/templates/podcast/feed.html Log: rfc822 datetime formatting --- st/templatetags/library.py | 9 +++++++++ templates/podcast/feed.html | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) Modified: trunk/st/templatetags/library.py ================================================================= --- trunk/st/templatetags/library.py (original) +++ trunk/st/templatetags/library.py Sat Feb 13 12:35:04 2010 @@ -77,3 +77,12 @@ return "%s sonra" % timesince(cmp,value) else: return "%s ?nce" % timesince(value,cmp) + + at register.filter +def rfc822datetime(value): + if value: + rfc822days = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") + rfc822months = ("Jan", "Feb", "Mar", "Apr", "Jun", "Jul", "Aug", "Oct", "Nov", "Dec") + return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], (value.day).zfill(2), rfc822months[value.month-1], d.year, (value.hour).zfill(2), (value.minute).zfill(2), (value.second).zfill(2)) + else: + return "" Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 12:35:04 2010 @@ -1,4 +1,4 @@ - +{% load library %} @@ -7,7 +7,7 @@ ?zg?rl?ki?in Podcast Yay?nlar? tr-TR ℗ & © {% now "Y" %} ?zg?rl?ki?in.com. Creative Commons: Attribution-Non-Commercial-Share Alike (by-nc-sa). - {{ episode_list.0.update|date:"r" }} + {{ episode_list.0.update|rfc822datetime }} http://blogs.law.harvard.edu/tech/rss ?zg?rl?ki?in.com @@ -28,8 +28,8 @@ {{ episode.text|striptags }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} - {{ episode.file_url_mp3 }} - {{ episode.update|date:"r" }} + {{ episode.file_url_mp3 }} + {{ episode.update|rfc822datetime }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.sum|striptags }} 00:{{ episode.minutes }}:{{ episode.seconds }} From oi-svn at pardus.org.tr Sat Feb 13 12:36:56 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 12:36:56 +0200 (EET) Subject: [Oi-commits] trunk/st/templatetags - missing str calls Message-ID: <20100213103657.2F25F49CCD2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 12:36:56 2010 New Revision: 2978 Modified: trunk/st/templatetags/library.py Log: missing str calls --- library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/st/templatetags/library.py ================================================================= --- trunk/st/templatetags/library.py (original) +++ trunk/st/templatetags/library.py Sat Feb 13 12:36:56 2010 @@ -83,6 +83,6 @@ if value: rfc822days = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") rfc822months = ("Jan", "Feb", "Mar", "Apr", "Jun", "Jul", "Aug", "Oct", "Nov", "Dec") - return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], (value.day).zfill(2), rfc822months[value.month-1], d.year, (value.hour).zfill(2), (value.minute).zfill(2), (value.second).zfill(2)) + return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], str(value.day).zfill(2), rfc822months[value.month-1], d.year, str(value.hour).zfill(2), str(value.minute).zfill(2), str(value.second).zfill(2)) else: return "" From oi-svn at pardus.org.tr Sat Feb 13 12:37:39 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 12:37:39 +0200 (EET) Subject: [Oi-commits] trunk/st/templatetags - typo Message-ID: <20100213103739.25CED49CCD2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 12:37:38 2010 New Revision: 2979 Modified: trunk/st/templatetags/library.py Log: typo --- library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/st/templatetags/library.py ================================================================= --- trunk/st/templatetags/library.py (original) +++ trunk/st/templatetags/library.py Sat Feb 13 12:37:38 2010 @@ -83,6 +83,6 @@ if value: rfc822days = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") rfc822months = ("Jan", "Feb", "Mar", "Apr", "Jun", "Jul", "Aug", "Oct", "Nov", "Dec") - return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], str(value.day).zfill(2), rfc822months[value.month-1], d.year, str(value.hour).zfill(2), str(value.minute).zfill(2), str(value.second).zfill(2)) + return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], str(value.day).zfill(2), rfc822months[value.month-1], value.year, str(value.hour).zfill(2), str(value.minute).zfill(2), str(value.second).zfill(2)) else: return "" From oi-svn at pardus.org.tr Sat Feb 13 12:39:35 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 12:39:35 +0200 (EET) Subject: [Oi-commits] trunk/st/templatetags - omit day of week Message-ID: <20100213103935.5027E49CDE3@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 12:39:35 2010 New Revision: 2980 Modified: trunk/st/templatetags/library.py Log: omit day of week --- library.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Modified: trunk/st/templatetags/library.py ================================================================= --- trunk/st/templatetags/library.py (original) +++ trunk/st/templatetags/library.py Sat Feb 13 12:39:35 2010 @@ -81,8 +81,7 @@ @register.filter def rfc822datetime(value): if value: - rfc822days = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") rfc822months = ("Jan", "Feb", "Mar", "Apr", "Jun", "Jul", "Aug", "Oct", "Nov", "Dec") - return "%s, %s %s %d %s:%s:%s +0200" % (rfc822days[value.isoweekday()], str(value.day).zfill(2), rfc822months[value.month-1], value.year, str(value.hour).zfill(2), str(value.minute).zfill(2), str(value.second).zfill(2)) + return "%s %s %d %s:%s:%s +0200" % (str(value.day).zfill(2), rfc822months[value.month-1], value.year, str(value.hour).zfill(2), str(value.minute).zfill(2), str(value.second).zfill(2)) else: return "" From oi-svn at pardus.org.tr Sat Feb 13 13:04:03 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 13:04:03 +0200 (EET) Subject: [Oi-commits] trunk - try player Message-ID: <20100213110403.CC06049CC34@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 13:04:03 2010 New Revision: 2981 Added: trunk/media/podcasts/ trunk/media/podcasts/player_mp3_maxi.swf (contents, props changed) Modified: trunk/templates/podcast/feed.html trunk/templates/podcast/main.html Log: try player --- feed.html | 2 +- main.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 13:04:03 2010 @@ -25,7 +25,7 @@ {{ episode.title }} {{ WEB_URL }}{{ episode.get_absolute_url }} - {{ episode.text|striptags }} + {{ episode.sum|striptags }} {% for author in episode.authors.all %}{% if forloop.last %}{{ author.name }}{% else %}{{ author.name }}, {% endif %}{% endfor %} {{ episode.file_url_mp3 }} Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 13:04:03 2010 @@ -12,6 +12,11 @@
{{ episode.title }} + + + + +
Podcastler From oi-svn at pardus.org.tr Sat Feb 13 13:11:16 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 13:11:16 +0200 (EET) Subject: [Oi-commits] trunk - player skin Message-ID: <20100213111116.4567949CCBB@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 13:11:16 2010 New Revision: 2982 Added: trunk/media/podcasts/player_skin.jpg (contents, props changed) Modified: trunk/templates/podcast/main.html Log: player skin --- main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 13:11:16 2010 @@ -15,7 +15,7 @@ - +
From oi-svn at pardus.org.tr Sat Feb 13 13:13:24 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 13:13:24 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - typo Message-ID: <20100213111324.41EB549CCBB@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 13:13:24 2010 New Revision: 2983 Modified: trunk/templates/podcast/main.html Log: typo --- main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 13:13:24 2010 @@ -15,7 +15,7 @@ - +
From oi-svn at pardus.org.tr Sat Feb 13 13:41:52 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 13:41:52 +0200 (EET) Subject: [Oi-commits] trunk - podcast image Message-ID: <20100213114152.C991849CDB2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 13:41:52 2010 New Revision: 2984 Added: trunk/media/podcasts/podcast_300.png (contents, props changed) Modified: trunk/templates/podcast/feed.html Log: podcast image --- feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 13:41:52 2010 @@ -15,7 +15,7 @@ info at pardus.org.tr ?zg?rl?ki?in Sohbetleri - + From oi-svn at pardus.org.tr Sat Feb 13 13:44:55 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 13:44:55 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - full url Message-ID: <20100213114455.A0E2E49CDB2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 13:44:55 2010 New Revision: 2985 Modified: trunk/templates/podcast/feed.html Log: full url --- feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/podcast/feed.html ================================================================= --- trunk/templates/podcast/feed.html (original) +++ trunk/templates/podcast/feed.html Sat Feb 13 13:44:55 2010 @@ -15,7 +15,7 @@ info at pardus.org.tr ?zg?rl?ki?in Sohbetleri - + From oi-svn at pardus.org.tr Sat Feb 13 14:01:17 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:01:17 +0200 (EET) Subject: [Oi-commits] trunk - podcast button Message-ID: <20100213120117.ED33C49CCEB@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:01:17 2010 New Revision: 2986 Added: trunk/media/img/new/menu/podcast.png (contents, props changed) Modified: trunk/templates/menu.html Log: podcast button --- menu.html | 2 ++ 1 file changed, 2 insertions(+) Modified: trunk/templates/menu.html ================================================================= --- trunk/templates/menu.html (original) +++ trunk/templates/menu.html Sat Feb 13 14:01:17 2010 @@ -23,6 +23,8 @@ At?lye  CD G?nder +  + Podcast
From oi-svn at pardus.org.tr Sat Feb 13 14:02:30 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:02:30 +0200 (EET) Subject: [Oi-commits] trunk/templates - add podcast to footer Message-ID: <20100213120230.3D3EA49CCEB@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:02:30 2010 New Revision: 2987 Modified: trunk/templates/footer.html Log: add podcast to footer --- footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/templates/footer.html ================================================================= --- trunk/templates/footer.html (original) +++ trunk/templates/footer.html Sat Feb 13 14:02:30 2010 @@ -9,6 +9,6 @@
From oi-svn at pardus.org.tr Sat Feb 13 14:16:26 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:16:26 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - podcast position Message-ID: <20100213121626.9EBE449CC37@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:16:26 2010 New Revision: 2988 Modified: trunk/templates/podcast/main.html Log: podcast position --- main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 14:16:26 2010 @@ -11,12 +11,12 @@
- {{ episode.title }} - + + {{ episode.title }}
Podcastler From oi-svn at pardus.org.tr Sat Feb 13 14:38:18 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:38:18 +0200 (EET) Subject: [Oi-commits] trunk - detail page Message-ID: <20100213123818.35A9B49CBA0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:38:18 2010 New Revision: 2989 Added: trunk/templates/podcast/detail.html Modified: trunk/podcast/urls.py trunk/podcast/views.py Log: detail page --- podcast/urls.py | 1 podcast/views.py | 5 ++ templates/podcast/detail.html | 76 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) Modified: trunk/podcast/urls.py ================================================================= --- trunk/podcast/urls.py (original) +++ trunk/podcast/urls.py Sat Feb 13 14:38:18 2010 @@ -10,4 +10,5 @@ urlpatterns = patterns('oi.podcast.views', (r'^$', 'main'), (r'^feed/$', 'feed'), + (r'^bolum/(?P.*)/$', 'main'), ) Modified: trunk/podcast/views.py ================================================================= --- trunk/podcast/views.py (original) +++ trunk/podcast/views.py Sat Feb 13 14:38:18 2010 @@ -7,6 +7,7 @@ from django.views.generic.list_detail import object_list from django.http import HttpResponse +from django.shortcuts import get_object_or_404 from django.template import Context, loader from oi.st.wrappers import render_response @@ -17,6 +18,10 @@ episode_list = Episode.objects.filter(status=True) return render_response(request, 'podcast/main.html', locals()) +def detail(request, slug): + episode = get_object_or_404(Episode, status=True, slug=slug) + return render_response(request, 'podcast/detail.html', locals()) + def feed(request): WEB_URL = oi.settings.WEB_URL episode_list = Episode.objects.filter(status=True) From oi-svn at pardus.org.tr Sat Feb 13 14:39:35 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:39:35 +0200 (EET) Subject: [Oi-commits] trunk/podcast - fix Message-ID: <20100213123935.354B649CC21@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:39:35 2010 New Revision: 2990 Modified: trunk/podcast/urls.py Log: fix --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: trunk/podcast/urls.py ================================================================= --- trunk/podcast/urls.py (original) +++ trunk/podcast/urls.py Sat Feb 13 14:39:35 2010 @@ -10,5 +10,5 @@ urlpatterns = patterns('oi.podcast.views', (r'^$', 'main'), (r'^feed/$', 'feed'), - (r'^bolum/(?P.*)/$', 'main'), + (r'^bolum/(?P.*)/$', 'detail'), ) From oi-svn at pardus.org.tr Sat Feb 13 14:52:21 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:52:21 +0200 (EET) Subject: [Oi-commits] trunk/podcast - better admin Message-ID: <20100213125221.75B2D49CC6B@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:52:21 2010 New Revision: 2991 Modified: trunk/podcast/admin.py Log: better admin --- admin.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Modified: trunk/podcast/admin.py ================================================================= --- trunk/podcast/admin.py (original) +++ trunk/podcast/admin.py Sat Feb 13 14:52:21 2010 @@ -9,6 +9,13 @@ from oi.podcast.models import * +class EpisodeAdmin(admin.ModelAdmin): + class Media: + js = ("js/tinymce/tiny_mce.js", "js/tinymce/textareas.js", "js/jquery-1.2.6.min.js", "js/adminimages.js", "js/jquery.autocomplete.js", "js/taghelper.js") + css = { + "all": ("css/new/autocomplete.css",), + } + admin.site.register(License) admin.site.register(Author) -admin.site.register(Episode) +admin.site.register(Episode, EpisodeAdmin) From oi-svn at pardus.org.tr Sat Feb 13 14:57:38 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 14:57:38 +0200 (EET) Subject: [Oi-commits] trunk/templates/podcast - move player to right Message-ID: <20100213125738.7AAA549CBC0@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 14:57:38 2010 New Revision: 2992 Modified: trunk/templates/podcast/main.html Log: move player to right --- main.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: trunk/templates/podcast/main.html ================================================================= --- trunk/templates/podcast/main.html (original) +++ trunk/templates/podcast/main.html Sat Feb 13 14:57:38 2010 @@ -11,17 +11,18 @@
- - - - - {{ episode.title }}
Podcastler -
{{ episode.sum|safe }}
+
{{ episode.sum|safe }}
+ + + + + +
{{ episode.update|date:"d" }} {{ episode.update|date:"F"|slice:":3" }} {{ episode.update|date:"Y" }} / {{ episode.topic.posts|add:"-1" }} Yorum
From oi-svn at pardus.org.tr Sat Feb 13 15:09:56 2010 From: oi-svn at pardus.org.tr (=?utf-8?b?VcSfdXIgw4dldGlu?=) Date: Sat, 13 Feb 2010 15:09:56 +0200 (EET) Subject: [Oi-commits] trunk - some refinements Message-ID: <20100213130956.2FE4B49CDA2@ns1.pardus.org.tr> Author: jnmbk Date: Sat Feb 13 15:09:56 2010 New Revision: 2993 Added: trunk/media/podcasts/bg.png (contents, props changed) Modified: trunk/templates/podcast/detail.html trunk/templates/podcast/main.html Log: some refinements --- detail.html | 4 ++-- main.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: trunk/templates/podcast/detail.html ================================================================= --- trunk/templates/podcast/detail.html (original) +++ trunk/templates/podcast/detail.html Sat Feb 13 15:09:56 2010 @@ -55,8 +55,8 @@

etiketler {% for tag in episode.tags.all %}{{ tag.name }}{% if forloop.last %}{% else %}, {% endif %}{% endfor %}


-

Konu?mac?lar

-

{% for author in episode.authors.all %}{% if forloop.last %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}{% else %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}, {% endif %}{% endfor %}

+

Sunan

+

{% for author in episode.authors.all %}{% if forloop.last %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %}{% else %}{% if author.user %}{% endif %}{{ author.name }}{% if author.user %}{% endif %},
{% endif %}{% endfor %}

Payla?