Changeset 2707


Ignore:
Timestamp:
Oct 11, 2008, 12:16:52 AM (16 years ago)
Author:
vdigital
Message:

Comments page review. (Merge 2706)

Location:
branches/2.0/template/yoga
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2.0/template/yoga/comment_list.tpl

    r2657 r2707  
    11{* $Id$ *}
     2<ul class="thumbnailCategories">
    23{foreach from=$comments item=comment}
     4<li>
    35        <div class="thumbnailCategory">
    4         {if isset($comment.TN_SRC)}
    5                 <div class="illustration">
    6                         <a href="{$comment.U_PICTURE}">
    7                                 <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
    8                         </a>
    9                 </div>
    10         {/if}
    11                 <div class="description">
    12                         {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
    13                         <ul class="actions" style="float:right">
    14                                 {if isset($comment.U_DELETE)}
    15                                 <li>
    16                                         <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
    17                                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
    18                                         </a>
    19                                 </li>
    20                                 {/if}
    21                                 {if isset($comment.U_VALIDATE)}
    22                                 <li>
    23                                         <a href="{$comment.U_VALIDATE}" title="validate this comment">
    24                                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
    25                                         </a>
    26                                 </li>
    27                                 {/if}
    28                         </ul>
    29                         {/if}
    30                         <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
    31                         <blockquote>{$comment.CONTENT}</blockquote>
    32                 </div>
    33     <div class="border">{* Sylvia needs that stupid dummy block *}&nbsp;</div>
    34         </div>
    35         {if isset($comment_separator)}
    36         <hr/>
    37         {/if}
     6    {if isset($comment.TN_SRC)}
     7    <div class="illustration">
     8      <a href="{$comment.U_PICTURE}">
     9        <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
     10      </a>
     11    </div>
     12    {/if}
     13    <div class="description">
     14      {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
     15      <ul class="actions" style="float:right">
     16        {if isset($comment.U_DELETE)}
     17        <li>
     18          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
     19            <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
     20          </a>
     21        </li>
     22        {/if}
     23        {if isset($comment.U_VALIDATE)}
     24        <li>
     25          <a href="{$comment.U_VALIDATE}" title="validate this comment">
     26            <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
     27          </a>
     28        </li>
     29        {/if}
     30      </ul>
     31      {/if}
     32      <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
     33      <blockquote>{$comment.CONTENT}</blockquote>
     34    </div>
     35  </div>
     36</li>
     37{if isset($comment_separator)}
     38<hr/>
     39{/if}
    3840{/foreach}
     41</ul>
  • branches/2.0/template/yoga/default-layout.css

    r2705 r2707  
    277277#theNotificationPage dl,
    278278#thePopuphelpPage dl { margin: 0 25px 25px; }
    279 
     279#content #comments ul.thumbnailCategories li { width:99%; }
    280280/* jQuery datepicker */
    281281img.ui-datepicker-trigger {
  • branches/2.0/template/yoga/theme/Sylvia/theme.css

    r2694 r2707  
    5959#content .thumbnailCategory div.description { background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
    6060margin: 0; padding:15px 10px 3px 0; overflow: hidden; }
    61 #content .thumbnailCategory div.border { background:transparent url(images/cat_bottom-right.gif) no-repeat scroll right bottom;
     61
    6262height:7px; margin:0; overflow:hidden; padding:0; width:100%; }
    6363#content .thumbnailCategory div.description .text { display:block; margin:10px 2px 0 0;
     
    9191.content UL.thumbnails SPAN.wrap2:hover { color: #666;
    9292background-color: #111; border:1px solid #ff3363;       /* thumbnails border color when mouse cursor is over it */ }
     93#comments ul.actions li, #comments ul.actions li:hover { background:transparent none; padding: 0 22px; clear:both; }
    9394A, INPUT.rateButton { color:#f70; border-width: 0; }
    9495A:hover, A:active { color: #f33; border-bottom: 1px solid #f33; cursor: pointer; }
Note: See TracChangeset for help on using the changeset viewer.