From b6ca062670b342344df08b53fb216db619ef42bc Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sun, 7 Aug 2016 16:39:42 +0200 Subject: Import legacy manman source Copied from www.ffgraz.net --- app/views/location/_pshow.rhtml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app/views/location/_pshow.rhtml (limited to 'app/views/location/_pshow.rhtml') diff --git a/app/views/location/_pshow.rhtml b/app/views/location/_pshow.rhtml new file mode 100644 index 0000000..b1b042a --- /dev/null +++ b/app/views/location/_pshow.rhtml @@ -0,0 +1,29 @@ + +<% if @location != nil %> + + + + + + + + + + + + + + + + + + + +
Name:<%= @location.name %>
Strasse:<%= @location.street %>
Hausnr.:<%= @location.streetnr %>
Kommentar:<%= @location.comment %>
changed:<%= @location.time %>
Links: + <%= link_to('Smokeping','http://stats.ffgraz.net/smokeping/index.cgi?target=Funkfeuer.' + @location.name) %>
+ <% if @location.gallery_link != nil %> + <%= link_to 'Gallery', @location.gallery_link %>
+ <% end %> + <%= link_to 'google maps', @googlemap %>
+

<%= link_to 'Edit', { :action => 'edit', :id => @location.id } %> +<% end %> -- cgit v1.2.1