summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 22:25:32 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:02:50 +0100
commitc52babd4346b1a52c28bb7437d0434ecfb9ab70f (patch)
treed6d8242e3c01619bcf1b0c4525c51d599603e457 /app/views/tenants/_admin_area.html.haml
parentd8fe3b636cab1504cb5d3cb5dc57ed818749ccf5 (diff)
Twitter Bootstrap stuff.
Diffstat (limited to 'app/views/tenants/_admin_area.html.haml')
-rw-r--r--app/views/tenants/_admin_area.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/tenants/_admin_area.html.haml b/app/views/tenants/_admin_area.html.haml
index 7e7e46b..627f221 100644
--- a/app/views/tenants/_admin_area.html.haml
+++ b/app/views/tenants/_admin_area.html.haml
@@ -19,13 +19,13 @@
- Manufacturer.all.each do |manufacturer|
- if manufacturer != Manufacturer.last && manufacturer != Manufacturer.limit(Manufacturer.count - 1).last
= succeed ', ' do
- =link_to manufacturer, manufacturer_path(manufacturer)
+ =link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + manufacturer, manufacturer_path(manufacturer)
- elsif manufacturer == Manufacturer.limit(Manufacturer.count - 1).last
= succeed ' und ' do
- =link_to manufacturer, manufacturer_path(manufacturer)
+ =link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + manufacturer, manufacturer_path(manufacturer)
- else
= succeed '.' do
- =link_to manufacturer, manufacturer_path(manufacturer)
+ =link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + manufacturer, manufacturer_path(manufacturer)
= render :partial => 'call_routes', :locals => {:tenant => tenant}