Sha256: 067136922035ddb5cfa597e7155d2a8fe161f20bfd44db82dbeec0e5ae6ef56c
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
.media_content_update - if @project.updates.empty? em = t('projects.project_updates.empty') - else ul.collection_list - for update in @project.updates.order('created_at DESC') li .flag .time= l(update.created_at, :format => :updates) .clearfix h3= link_to "#updates/#{update.id}", :id => "updates/#{update.id}" do = update.title .comment= raw(update.comment_html) .midia .social .update_share - url = (@project.permalink ? project_by_slug_url(@project.permalink, :update_id => update.id, :locale => I18n.locale) : project_url(@project, :update_id => update.id, :locale => I18n.locale)) .twitter_share= render_twitter text: "#{update.title}", url: url .facebook_share= render_facebook_like href: url, width: '360' - if can? :manage, update = link_to t('projects.project_updates.destroy'), project_update_path(:project_id => @project.id, :id => update.id), :confirm => t('projects.project_updates.destroy_confirmation'), :remote => true, :method => :delete, :class => 'destroy_update' .deleting_update.hide= image_tag "loading.gif"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
catarse_core-1.0.0.beta | app/views/catarse/updates/index.html.slim |