diff options
author | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
commit | b6ca062670b342344df08b53fb216db619ef42bc (patch) | |
tree | 7680ac6b407239f6b7272c937e42f688b8de542c /app/views/location/_pshow.rhtml |
Import legacy manman source
Copied from www.ffgraz.net
Diffstat (limited to 'app/views/location/_pshow.rhtml')
-rw-r--r-- | app/views/location/_pshow.rhtml | 29 |
1 files changed, 29 insertions, 0 deletions
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 %> +<table> + <tr> + <td>Name:</td><td><%= @location.name %></td> + </tr> + <tr> + <td>Strasse:</td><td><%= @location.street %></td> + <tr> + <td>Hausnr.:</td><td><%= @location.streetnr %></td> + </tr> + <tr> + <td>Kommentar:</td><td><%= @location.comment %></td> + </tr> + <tr> + <td>changed:</td><td><%= @location.time %></td> + </tr> + <tr> + <td>Links:</td> + <td> + <%= link_to('Smokeping','http://stats.ffgraz.net/smokeping/index.cgi?target=Funkfeuer.' + @location.name) %><br /> + <% if @location.gallery_link != nil %> + <%= link_to 'Gallery', @location.gallery_link %><br /> + <% end %> + <%= link_to 'google maps', @googlemap %><br /></td> + </tr> +</table> +<p><%= link_to 'Edit', { :action => 'edit', :id => @location.id } %> +<% end %> |