Changeset 8092 for platform/pragger
- Timestamp:
- 03/18/08 21:23:57 (5 years ago)
- Files:
-
- 1 modified
-
platform/pragger/Publish/nicovideo_rank.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
platform/pragger/Publish/nicovideo_rank.rb
r8060 r8092 48 48 <% rank_data[(page * config['by_page'].to_i) ... ((page + 1) * config['by_page'].to_i)].each_with_index do |item, i| 49 49 break if i >= rank_data.length %> 50 <div ><%= (page * config['by_page'].to_i) + i + 1 %>位:<a href="<%= item['link'] %>"><%=ERB::Util.h item['title'] %></a><br/>51 再生数:<%= item['viewed'].to_i %> マイリスト数:<%= item['mylisted'].to_i %> マイリスト率:<%= (item['viewed'] == 0 ? 0 : item['mylisted'] / item['viewed']) * 100 %>%</div>50 <div class="xfolkentry"><%= (page * config['by_page'].to_i) + i + 1 %>位:<a href="<%= item['link'] %>" class="taggedlink description"><%=ERB::Util.h item['title'] %></a></div> 51 <div>再生数:<%= item['viewed'].to_i %> マイリスト数:<%= item['mylisted'].to_i %> マイリスト率:<%= (item['viewed'] == 0 ? 0 : item['mylisted'] / item['viewed']) * 100 %>%</div> 52 52 <iframe width="760" height="160" src="http://www.nicovideo.jp/thumb/<%= item['link'].scan(/\/([^\/]+)$/)[0] %>" scrolling="no" style="border:solid 1px #CCC;" frameborder="0"></iframe> 53 53 <% end %>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)