allura
リビジョン | cd01ecebe0e8e089f1993609ea0b83f5fa64b2fe (tree) |
---|---|
日時 | 2010-10-09 06:59:33 |
作者 | Jenny Steele <jsteele@geek...> |
コミッター | Jenny Steele |
Fixed project list layout issue
@@ -1,24 +1,19 @@ | ||
1 | -<div> | |
2 | - <div class="border card"> | |
3 | - {% if value.accolades %} | |
4 | - <div class="box notch sponsor"> | |
5 | - <div class="feature">{{value.accolades[0].award.short}}</div> | |
6 | - <img src="{{value.icon and value.url()+'icon' or g.forge_static('images/project_default.png')}}" alt="{{value.name}} Logo"/> | |
7 | - </div> | |
8 | - {% else %} | |
9 | - <div class="box"> | |
10 | - <img src="{{value.icon and value.url()+'icon' or g.forge_static('images/project_default.png')}}" alt="{{value.name}} Logo"/> | |
11 | - </div> | |
12 | - {% endif %} | |
13 | - <h2> | |
14 | - <a href="{{value.url()}}">{{value.name}}</a> | |
15 | - </h2> | |
16 | - <p class="desc">{{h.text.truncate(value.short_description, 50)}}</p> | |
17 | - <div class="quik"> | |
18 | - {% for s in value.sitemap() if s.url %} | |
19 | - <a href="{{s.url}}" class="btn ico" title="{{s.label}}"><b class="ui-icon ui-icon-{{s.ui_icon or 'admin'}}"></b> <span>{{s.label}}</span></a> | |
20 | - {% endfor %} | |
21 | - </div> | |
1 | +<div class="border card"> | |
2 | + {% if value.accolades %} | |
3 | + <div class="box notch sponsor"> | |
4 | + <div class="feature">{{value.accolades[0].award.short}}</div> | |
5 | + <img src="{{value.icon and value.url()+'icon' or g.forge_static('images/project_default.png')}}" alt="{{value.name}} Logo"/> | |
6 | + </div> | |
7 | + {% else %} | |
8 | + <div class="box"> | |
9 | + <img src="{{value.icon and value.url()+'icon' or g.forge_static('images/project_default.png')}}" alt="{{value.name}} Logo"/> | |
10 | + </div> | |
11 | + {% endif %} | |
12 | + <h2><a href="{{value.url()}}">{{value.name}}</a></h2> | |
13 | + <p class="desc">{{h.text.truncate(value.short_description, 50)}}</p> | |
14 | + <div class="quik"> | |
15 | + {% for s in value.sitemap() if s.url %} | |
16 | + <a href="{{s.url}}" class="btn ico" title="{{s.label}}"><b class="ui-icon ui-icon-{{s.ui_icon or 'admin'}}"></b> <span>{{s.label}}</span></a> | |
17 | + {% endfor %} | |
22 | 18 | </div> |
23 | - | |
24 | -</div> | |
19 | +</div> | |
\ No newline at end of file |