lib/visage-app/views/profiles.haml in visage-app-2.0.5 vs lib/visage-app/views/profiles.haml in visage-app-2.1.0
- old
+ new
@@ -1,13 +1,16 @@
- page_title 'Profiles'
%div#profiles
%h2 Profiles
- %div#sort
- Sort by:
- %a{:href => link_to("/profiles?sort=name")} name
- |
- %a{:href => link_to("/profiles?sort=created")} created
+ / FIXME - disabling sort links as default is now sorted by profile name
+ / and there's no ability to sort by created time (until it's saved with
+ / profiles on creation)
+ /%div#sort
+ / Sort by:
+ / %a{:href => link_to("/profiles?sort=name")} name
+ / |
+ / %a{:href => link_to("/profiles?sort=created")} created
%ul#navigation
- @profiles.each_with_index do |prof,index|
%li{:class => index == 0 ? 'active shortcut' : 'shortcut'}
%a{:href => link_to("/profiles/#{prof.url}")}= prof.profile_name