summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 11:57:15 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 11:57:15 +0100
commite200751676f22dd9a83905eea0057beb57c9c9a7 (patch)
tree8f08ae9b57a87a04c42680a36219af7b6b03a8f6 /app
parente03b0b57f4c05210d198e2fab031cb4b7bdd5247 (diff)
Show a link to the phone's manual.
Diffstat (limited to 'app')
-rw-r--r--app/views/phones/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml
index 090323e..268c469 100644
--- a/app/views/phones/show.html.haml
+++ b/app/views/phones/show.html.haml
@@ -6,6 +6,8 @@
%p
%strong= t('phones.show.phone_model_id') + ":"
= @phone.phone_model
+ - if !@phone.phone_model.product_manual_homepage_url.blank?
+ (#{link_to t('phones.show.manual'), @phone.phone_model.product_manual_homepage_url})
- if @phone.hot_deskable == true
%p
%strong= t('phones.show.hot_deskable') + ":"