To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 1088

Show
Ignore:
Timestamp:
04/28/10 17:38:30 (22 months ago)
Author:
johnnyoffline
Message:

sort arrows are now the best sort arrows IN THE WORLD

Location:
plugins/apostropheBlogPlugin/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/data/generator/sfDoctrineModule/aBlogAdmin/template/templates/_list_th_tabular.php

    r1083 r1088  
    2828   
    2929  [?php if ('<?php echo $name ?>' == $sort[0]): ?] 
    30         [?php ($sort[1] == 'asc')? $sortLabel = __("Ascending", array(), 'a-admin'): __("Descending", array(), 'a-admin'); ?] 
     30 
     31                [?php ($sort[1] == 'asc')? $sortLabel = __("Descending", array(), 'a-admin'): $sortLabel = __("Ascending", array(), 'a-admin'); ?] 
    3132 
    3233    [?php echo link_to( 
    33       image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/'.$sort[1].'-on.png', array('alt' => __($sortLabel, array(), 'a-admin'))), 
    34       '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'), array('class' => 'a-sort-arrow asc', 'title' => __($sortLabel, array(), 'a-admin')) 
    35       ) ?] 
     34                        $sortLabel, 
     35                        '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'),  
     36                        array('class' => 'a-btn flag flag-right nobg icon a-sort-arrow sorting '.$sort[1], 'title' => __($sortLabel, array(), 'a-admin')))  
     37                ?] 
     38                 
    3639    [?php else: ?] 
     40 
    3741    [?php echo link_to( 
    38       image_tag(((sfConfig::get('app_aAdmin_web_dir',false))?sfConfig::get('app_aAdmin_web_dir'):'/apostrophePlugin').'/images/desc.png', array('alt' => __('desc', array(), 'a-admin'))), 
    39       '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'), array('class' => 'a-sort-arrow desc', 'title' => __('Descending', array(), 'a-admin')) 
    40       ) ?] 
     42      __("Ascending", array(), 'a-admin'), 
     43      '<?php echo $this->getModuleName() ?>/index?sort=<?php echo $name ?>&sort_type=asc',  
     44                        array('class' => 'a-btn flag flag-right nobg icon a-sort-arrow asc', 'title' => __('Ascending', array(), 'a-admin')))  
     45                ?] 
     46                 
    4147  [?php endif; ?] 
    4248 
  • plugins/apostropheBlogPlugin/trunk/web/css/aBlog.css

    r1083 r1088  
    141141font-size: 12px; 
    142142min-width: 120px; 
    143 width: auto !important; 
    144 width: 120px; 
     143width: auto; 
    145144z-index: 100; 
    146145-moz-border-radius: 2px; 
     
    241240/* Tags Sort Box */ 
    242241 
    243 .a-column-tags_list .filternav 
    244 { 
    245 width: 240px; 
     242.a-admin-list th.a-column-tags_list .filternav 
     243{ 
     244width: 220px; 
    246245} 
    247246 
     
    256255.a-column-tags_list .filternav span 
    257256{ 
    258 width: 100%; 
     257float: left; 
     258clear: both; 
     259padding-left: 20px; 
    259260margin-top: 5px; 
    260261} 
     
    269270font-size: 14px; 
    270271color: #ccc; 
    271 padding: 0 5px; 
     272width: 20px; 
     273margin-left: -20px; 
     274text-align: center; 
    272275} 
    273276