Sha256: 76c89128d8674d3df442e0caab15692f3d3a74563014d854af8b23186b9a2f0e

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

.a
  .b
    %h2
      = @city.name
      = link_to image_edit, edit_city_path(@city)
      <#{@city.x}, #{@city.y}>
    <em>#{@city.cityname}</em>
    %br
    - unless @city.profile_photo.blank?
      = image_tag @city.profile_photo.photo.url(:thumb)

    %ul.menu-secondary
      %li
        = link_to image_new, new_city_feature_path( @city )
        Features (#{@city.features.length})
      %li
        = link_to image_new, new_city_newsitem_path( @city )
        Newsitems (#{@city.newsitems.length})
      %li
        = link_to image_new, new_city_report_path( @city )
        Reports (#{@city.reports.count})
      %li
        = link_to image_new, new_city_gallery_path( @city )
        Galleries (#{@city.galleries.count})
      %li
        = link_to image_new, new_city_video_path( @city )
        Videos (#{@city.videos.count})
      %li
        = link_to image_new, new_city_venue_path( @city )
        Venues (#{@city.venues.count})
      %li
        = link_to image_new, new_city_event_path( @city )
        = link_to 'Events', city_events_path( @city )
        (#{@city.events.count})
      %li
        = link_to image_new, new_city_tag_path( @city )
        = link_to 'Tags', city_tags_path( @city )
        (#{@city.tags.count})
    %hr

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ish_manager-0.1.8.141 app/views/ish_manager/cities/_header.haml
ish_manager-0.1.8.140 app/views/ish_manager/cities/_header.haml