CHANGE: galleries -> show

This commit is contained in:
HausdorffHimself
2013-09-10 02:12:14 +02:00
parent 4a6a111fd9
commit e1d730fd04

View File

@@ -1,18 +1,17 @@
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
<div> <div>
<small> <%= @gallery.datum %> </small> <small class="pull-left"><%= @gallery.fotos.size.to_s + " " + I18n.t('fotos.bilder')%> </small>
<small class="pull-right"><%=I18n.l(@gallery.try(:datum).try(:to_date)) unless @gallery.try(:datum).try(:to_date).nil? %></small></br>
<h1> <h1>
<%= @gallery.name %> <%= @gallery.name %>
</h1> </h1>
</div> </div>
<p> <p>
<%= @gallery.desc %> <%= @gallery.desc %>
</p> </p>
</br>
<!-- modal-gallery is the modal dialog used for the image gallery --> <!-- modal-gallery is the modal dialog used for the image gallery -->
<div id="modal-gallery" class="modal hide fade modal-gallery modal-fullscreen modal-loading" tabindex="-1"> <div id="modal-gallery" class="modal hide fade modal-gallery modal-fullscreen modal-loading" tabindex="-1">
@@ -38,7 +37,7 @@
<% end %> <% end %>
</div> </div>
</br>
<%= render 'layouts/pretty_toolbar' %> <%= render 'layouts/pretty_toolbar' %>
@@ -48,6 +47,5 @@
<script src="js/load-image.js"></script> <script src="js/load-image.js"></script>
<script src="js/bootstrap-image-gallery.js"></script> <script src="js/bootstrap-image-gallery.js"></script>
<script type="text/javascript"> <script type="text/javascript">
//$('#modal-gallery.fade').css('top', '50%'); //$('#modal-gallery.fade').css('top', '50%');
</script> </script>