Skip to content

Commit

Permalink
fixed more places link in digest
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarmis committed May 24, 2012
1 parent a8bc37c commit c2837a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mobile_client/views/digest.slim
Expand Up @@ -10,8 +10,8 @@
- @topics.each_pair do |k, v|
- if k
li data-role="list-divider" role="heading" data-theme="d"
a href='#{ @link_base.to_s + "&topic=list_#{k.tr(' ','-')}" }' data-role="btn" data-inset="true"
- topic_name = k.split(' ').map {|w| w.capitalize }.join(' ').en.plural
a href='#{ @link_base.to_s + "&topic=list_#{k.lstrip.tr(' ','-')}" }' data-role="btn" data-inset="true"
- topic_name = k.lstrip.split(' ').map {|w| w.capitalize }.join(' ').en.plural
= topic_name
- v.each do |i|
li data-filtertext="#{topic_name} #{i.split(',')[0]} #{i.split(',')[1]}" data-theme="a"
Expand Down

0 comments on commit c2837a8

Please sign in to comment.