diaspora/app/views/shared/_post_info.mobile.haml
Benjamin Neff 604ffb445a optimized sprites
- move mobile icons to mobile-folder, so they aren't included in the
  icons-sprite
- move logos to branding/logos, and create a logos-sprite without the
  big other branding-images
- delete duplicate images

closes #6004
2015-05-29 11:39:30 +02:00

27 lines
969 B
Text

-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.from
= person_image_link(post.author, :size => :thumb_small)
= person_link(post.author)
.remove_post
- if user_signed_in? && post.author == current_user.person
= link_to(image_tag("mobile/deletelabel.png"), post_path(post), method: :delete, data: { confirm: "#{t('are_you_sure')}" }, class: "remove")
.info
%span
= link_to(post_path(post)) do
= timeago(post.created_at)
%span.via
- if post.activity_streams?
= t('shared.stream_element.via', :link => link_to("#{post.provider_display_name}", post.actor_url)).html_safe
- elsif post.provider_display_name == 'mobile'
= t('shared.stream_element.via_mobile', :link => nil)
–
%span.scope_scope
- if post.public?
= t('public')
- else
= t('limited')