- always show image, not bogus thumbnail (which does not say anything) for
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 1 Aug 2006 09:29:57 +0000 (09:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  folders/galeries.

Changed files:
    gallery-theme-carbon-agfolder.patch -> 1.2

gallery-theme-carbon-agfolder.patch

index 820c356..63770c3 100644 (file)
@@ -1,10 +1,34 @@
---- ./carbon/templates/album.tpl.org   2006-04-06 22:23:12.000000000 +0200
-+++ ./carbon/templates/album.tpl       2006-07-28 13:40:27.988210500 +0200
-@@ -135,6 +135,7 @@
+--- ./carbon/templates/album.tpl.org   2006-08-01 11:25:02.056126000 +0200
++++ ./carbon/templates/album.tpl       2006-08-01 11:25:07.556469750 +0200
+@@ -126,7 +126,12 @@
+                         {g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
+                                       width=$child.thumbnail.width height=$child.thumbnail.height}
+                           <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">
++                         {if ($child.entityType == 'GalleryAlbumItem')}
++                          <img  src="themes/carbon/images/agfolder.png" border="0"><br>
++                          <p class="giTitle">{g->text text="%s" arg1=$child.title|markup}</p>
++                         {else}
+                             {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
++                         {/if}
+                           </a>
+                         {/g->container}
+                         {elseif isset($child.thumbnail)}
+@@ -135,6 +140,7 @@
                            </a>
                          {else}
                            <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" class="giMissingThumbnail">
-+                              <img src="themes/carbon/images/agfolder.png" border="0"> <br>
++                              <img src="themes/carbon/images/agfolder.png" border="0"><br>
                              {g->text text="no thumbnail"}
                            </a>
                          {/if}
+@@ -176,8 +182,8 @@
+                                 showDate=true
+                                 showOwner=$showOwner
+                                 showSize=true
+-                                showViewCount=true
+-                                showSummaries=true
++                                showViewCount=false
++                                showSummaries=false
+                                 class="giInfo"}
+                     </td>
+                     {/foreach}
This page took 0.033639 seconds and 4 git commands to generate.