blob: b520c09cf5bdb54ac4acdbb39c459a5a71544e8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- content_for :head do
= include_javascripts :photos
#author_info
= person_image_link(@person)
.from
%h2
= @person.name
.span-14.append-1.last
#show_photo{:data=>{:guid=>@post.id}}
= image_tag @post.url(:scaled_full)
#caption
= @post.text
%br
.span-9.last
- if @post.status_message_guid
#original_post_info
%h4{:style=>"position:relative;"}
= t('photos.show.original_post')
= link_to t('photos.show.view'), post_path(@post.status_message)
%p
= @post.status_message.text
%p
- for photo in @post.status_message.photos
.thumb_small= link_to (image_tag photo.url(:thumb_small)), post_path(photo)
%p
= link_to t('photos.show.permalink'), post_path(@post)
|