Sha256: 41ce1020b8a70ff8c707287a2cbf7275bf793b6a044f57054ac61933a9175ddf

Contents?: true

Size: 1.44 KB

Versions: 26

Compression:

Stored size: 1.44 KB

Contents

- title "City #{@city.name}"

.row
  .large-12.columns

    %h2
      = @city.name
      = link_to '[~]', edit_manager_city_path(@city)

    - unless @city.profile_photo.blank?
      = image_tag @city.profile_photo.photo.url(:thumb)

    %hr
    %ul.menu-secondary
      %li
        = link_to '[+]', new_manager_city_feature_path( @city )
        Features (#{@city.features.length})
      %li
        = link_to '[+]', new_manager_city_newsitem_path( @city )
        Newsitems (#{@city.newsitems.length})
      %li New Report
      %li New Gallery
      %li New Video
      %li New Venue
      %li New Event
      %li New Community
    %hr

    = render 'manager/features/index', :features => @city.features, :city => @city
    = render 'manager/newsitems/index', :newsitems => @city.newsitems, :city => @city
    
    %h3
      = t('reports.list')
      (#{@city.reports.length})
    %ul
      - @city.reports.each do |report|
        %li
          = link_to '[~]', edit_manager_report_path(report)
          = report.name

    .galleries-list
      %h3
        = t('galleries.list')
        (#{@city.galleries.length})
      = render '/manager/galleries/list_short', :galleries => @city.galleries

    %h3
      = t('users.list')
      (#{@city.current_users.length})
      
    %h3 Events (#{@city.events.length})
    %ul
      - @city.events.each do |event|
        %li= event.name
        
    %h3 Venues (#{@city.venues.length})
    %h3 Videos (#{@city.videos.length})

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ish_manager-0.1.8.21 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.20 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.19 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.18 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.16 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.15 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.14 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.13 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.12 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.11 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.10 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.9 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.8 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.7 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.6 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.5 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.4 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.3 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8.2 app/views/ish_manager/cities/show.haml
ish_manager-0.1.8 app/views/ish_manager/cities/show.haml