Sha256: d7b25dfc5dfe388fdf9328a9adea8c69a01a93d108aedc2eb1186f1b022b630e

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

-#
-# ish_manager / cities / show
-#
  
= render 'header', :city => @city
.row
  .col-sm-6
    %h5
      Venues (#{@venues.length})
      = link_to image_new, new_venue_path(city_id: @city.id)
    = render 'ish_manager/venues/search', :city => @city
    = render 'ish_manager/venues/index', :venues => @venues
  .col-sm-6
    .col-sm-3
      %a{href: '#newsitems'}
        NewsItems (#{@city.newsitems.length})
    .col-sm-3
      %a{href: '#reports'}
        Reports (#{@city.reports.length})
    .col-sm-3
      %a{href: '#galleries'}
        Galleries (#{@city.galleries.length})
    .col-sm-3
      %a{href: '#videos'}
        Videos (#{@city.videos.length})
    .row
      .col-sm-12#newsitems
        = render 'ish_manager/newsitems/index', :newsitems => @newsitems, :city => @city
    .row
      .col-sm-12#reports
        = render 'ish_manager/reports/index', :reports => @reports
    .row
      .col-sm-12#galleries
        %h5
          Galleries (#{@city.galleries.length})
          = link_to image_new, new_gallery_path(city_id: @city.id)
        = render 'ish_manager/galleries/index', :galleries => @galleries
    .row
      .col-sm-12#videos
        = render 'ish_manager/videos/index', :videos => @videos



-#= render 'ish_manager/features/index',  :features => @city.features,   :city => @city
-#
-#.row
-#  .col-sm-6= render 'ish_manager/reports/index', :reports => @city.reports
-#  .col-sm-6
-#    %h5 Galleries
-#    = render 'ish_manager/galleries/index', :galleries => @city.galleries
-#.row
-#  .col-sm-6
-#    %h5
-#      Venues (#{@city.venues.length})
-#      = link_to image_new, new_venue_path(city_id: @city.id)
-#    = render 'ish_manager/venues/index', :venues => @city.venues
-#.row
-#  .col-sm-6= render 'ish_manager/videos/index', :videos => @city.videos
-#  .col-sm-6
-#    = render 'ish_manager/users/index', :users => @city.current_users
-#    = render 'ish_manager/events/index', :events => @city.events
-#    = render 'ish_manager/venues/index', :venues => @city.venues

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ish_manager-0.1.8.215 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.214 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.213 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.212 app/views/ish_manager/cities/show.haml