1. Viktor Nagy
  2. jalagati.hu

Commits

Viktor Nagy  committed f9fc8bd

fixes

  • Participants
  • Parent commits 54ed992

Comments (0)

Files changed (6)

File jalagati/app/static/css/style.css

View file
  • Ignore whitespace
 .guestbook .message{font-style:italic;border-bottom:1px #dddddd solid;margin-bottom:10px;}
 .guestbook li{list-style:none;}
 form textarea{width:95%;}
+#maincontent .file img {
+height: 32px; width: 32px; border: none; background: none; float: none;
+}

File jalagati/templates/cmsplugin_filer_folder/folder.html

View file
  • Ignore whitespace
+{% load i18n thumbnail sekizai_tags %}
+{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_filer_folder/css/slideshow.css" media="screen, projection" />{% endaddtoblock "css" %}
+{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}cmsplugin_filer_folder/js/jquery.cycle.lite-1.0.js"></script>{% endaddtoblock "js" %}
+{% addtoblock "js" %}
+<script type="text/javascript">
+//<![CDATA[
+jQuery(document).ready(function ($) {
+    $('.cmsplugin_filer_folder_slidshow').cycle({
+        fx: 'fade'
+    });
+});
+//]]>
+</script>
+{% endaddtoblock %}
+
+
+{% firstof object.title object.folder.name  %}
+
+{% if object.view_option == "list" %}
+    <div class="cmsplugin_filer_folder_list" id="folder_{{ instance.id }}">
+        <!--The files should go there    -->
+        {% if folder_children %}
+        <p>{% trans "Folders" %}</p>
+        <ul>
+            {% for folder in folder_children %}
+                <li>{{ folder }}</li>
+            {% endfor %}
+        </ul>
+        {% endif %}
+        {% if folder_files %}
+        <p>{% trans "Files" %}</p>
+        <ul>
+            {% for files in folder_files %}
+                <li><a href="{{files.url}}">{{ files }}</a></li>
+            {% endfor %}
+        </ul>
+        {% endif %}
+        {% if folder_images %}
+        <p>{% trans "Images" %}</p>
+        <ul>
+            {% for image in folder_images %}
+                <li><img src="{% thumbnail image.file 32x32 crop="True" upscale="True" %}" width="32" height="32" alt="{{ image.label }}"></li>
+            {% endfor %}
+        </ul>
+        {% endif %}
+    </div>
+{% else %}
+    <!-- start: slideshow -->
+    <div class="cmsplugin_filer_folder_slidshow" id="folder_{{ object.id }}">
+        {% for image in folder_images %}
+            <img src="{% thumbnail image.file 200x200 crop="True" upscale="True" %}">
+        {% endfor %}
+    </div>
+    <!-- end: gallery -->
+{% endif %}

File jalagati/templates/cmsplugin_zinnia/entry_list_extra.html

View file
  • Ignore whitespace
 <ul>
   {% for entry in entries %}
   <li class="entry-list-extra">
-    <a href="{{ entry.get_absolute_url }}" title="{{ entry.title }}" rel="bookmark">{{ entry.title }}</a> <span class="entry-info">{% blocktrans with date=entry.creation_date|date:"DATE_FORMAT" abbr_date=entry.creation_date|date:"c" %}Published on {{date}}{% endblocktrans %}</span>
+    <a href="{{ entry.get_absolute_url }}" title="{{ entry.title }}" rel="bookmark">{{ entry.title }}</a> <span class="entry-info">{% blocktrans with date=entry.creation_date|date:"DATE_FORMAT" abbr_date=entry.creation_date|date:"c" %}Készült: {{date}}{% endblocktrans %}</span>
   </li>
   {% empty %}
   <li>

File jalagati/templates/zinnia/_entry_detail.html

View file
  • Ignore whitespace
       {{ object_content }}
     </div>
     {% if continue_reading %}<a href="{{ object.get_absolute_url }}" class="readmore" title="{% blocktrans with object=object.title %}Continue reading {{ object }}{% endblocktrans %}"
-         rel="bookmark"><span>{% trans "Read more" %}</span></a>{% endif %}
+         rel="bookmark"><span>{% trans "Bővebben" %}</span></a>{% endif %}
   </div>
 
   <div class="entry-footer">
-    <p class="entry-info">
-      {% blocktrans with date=object.creation_date|date:"DATE_FORMAT" abbr_date=object.creation_date|date:"c" %}Published on <abbr class="published" title="{{ abbr_date }}">{{date}}</abbr>{% endblocktrans %}
-      {% if object.categories.count %}
-      {% trans "Kategória:" %}
-      {% for category in object.categories.all %}
-      <a href="{{ category.get_absolute_url }}"
-         title="{% blocktrans %}Show all entries in {{ category }}{% endblocktrans %}"
-         rel="tag category">{{ category }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}.
-    </p>
+
     {% if tag_list %}
     <ul class="entry-tags">
       {% tags_for_object object as tag_list %}
     </ul>
     {% endif %}
 
-    <p class="entry-comments">
-      {% if object.comment_enabled %}
-      {% fb_comments width="680" include_cached_comments no_scripts %}
-      {% else %}
-      {% trans "Comments are closed" %}
-      {% endif %}
-      {% with pingback_count=object.pingbacks.count %}
-      {% if pingback_count %}
-      , <a href="{{ object.get_absolute_url }}#pingbacks" title="{% blocktrans with object=object.title %}Pingbacks on {{ object }}{% endblocktrans %}">
-        {% blocktrans count pingback_count=pingback_count %}{{ pingback_count }} pingback{% plural %}{{ pingback_count }} pingbacks{% endblocktrans %}
-      </a>
-      {% endif %}
-      {% endwith %}
-      {% with trackback_count=object.trackbacks.count %}
-      {% if trackback_count %}
-      , <a href="{{ object.get_absolute_url }}#trackbacks" title="{% blocktrans with object=object.title %}Trackbacks on {{ object }}{% endblocktrans %}">
-        {% blocktrans count trackback_count=trackback_count %}{{ trackback_count }} trackback{% plural %}{{ trackback_count }} trackbacks{% endblocktrans %}
-      </a>
-      {% endif %}
-      {% endwith %}
-    </p>
+
   </div>
 </div>

File jalagati/templates/zinnia/_entry_excerpt.html

View file
  • Ignore whitespace
     </div>
     {% if continue_reading %}
     <a href="{{ object.get_absolute_url }}" class="readmore" title="{% blocktrans with object=object.title %}Continue reading {{ object }}{% endblocktrans %}"
-         rel="bookmark"><span>{% trans "Read more" %}</span></a>
+         rel="bookmark"><span>{% trans "Bővebben" %}</span></a>
     {% endif %}
   </div>
 
   <div class="entry-footer">
-    <p class="entry-info">
-      {% blocktrans with date=object.creation_date|date:"DATE_FORMAT" abbr_date=object.creation_date|date:"c" %}Published on <abbr class="published" title="{{ abbr_date }}">{{date}}</abbr>{% endblocktrans %}
-      {% if object.categories.count %}
-      {% trans "Kategória:" %}
-      {% for category in object.categories.all %}
-      <a href="{{ category.get_absolute_url }}"
-         title="{% blocktrans %}Show all entries in {{ category }}{% endblocktrans %}"
-         rel="tag category">{{ category }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}.
-    </p>
+
     {% if tag_list %}
     <ul class="entry-tags">
       {% tags_for_object object as tag_list %}
     </ul>
     {% endif %}
 
-    <p class="entry-comments">
-      {% if object.comment_enabled %}
-      {% fb_comments width="680" include_cached_comments no_scripts %}
-      {% else %}
-      {% trans "Comments are closed" %}
-      {% endif %}
-      {% with pingback_count=object.pingbacks.count %}
-      {% if pingback_count %}
-      , <a href="{{ object.get_absolute_url }}#pingbacks" title="{% blocktrans with object=object.title %}Pingbacks on {{ object }}{% endblocktrans %}">
-        {% blocktrans count pingback_count=pingback_count %}{{ pingback_count }} pingback{% plural %}{{ pingback_count }} pingbacks{% endblocktrans %}
-      </a>
-      {% endif %}
-      {% endwith %}
-      {% with trackback_count=object.trackbacks.count %}
-      {% if trackback_count %}
-      , <a href="{{ object.get_absolute_url }}#trackbacks" title="{% blocktrans with object=object.title %}Trackbacks on {{ object }}{% endblocktrans %}">
-        {% blocktrans count trackback_count=trackback_count %}{{ trackback_count }} trackback{% plural %}{{ trackback_count }} trackbacks{% endblocktrans %}
-      </a>
-      {% endif %}
-      {% endwith %}
-    </p>
+
   </div>
 </div>

File jalagati/templates/zinnia/entry_list.html

View file
  • Ignore whitespace
 <ul>
 {% for object in object_list %}
   <li class="entry-list-extra">
-  <a href="{{ object.get_absolute_url }}" title="{{ object.title }}" rel="bookmark">{{ object.title }}</a> <span class="entry-info">{% blocktrans with date=object.creation_date|date:"DATE_FORMAT" abbr_date=object.creation_date|date:"c" %}Published on {{date}}{% endblocktrans %}</span>
+  <a href="{{ object.get_absolute_url }}" title="{{ object.title }}" rel="bookmark">{{ object.title }}</a> <span class="entry-info">{% blocktrans with date=object.creation_date|date:"DATE_FORMAT" abbr_date=object.creation_date|date:"c" %}Készült: {{date}}{% endblocktrans %}</span>
   </li>
 {% empty %}
   <li><p class="notice">