~mnml/play/crud

« back to all changes in this revision

Viewing changes to modules/crud/app/views/tags/showPost.html

  • Committer: mnml
  • Date: 2010-05-26 13:37:36 UTC
  • Revision ID: mnml@mnml-20100526133736-3lom93lppc2m0ix9
--

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div class="post">
2
 
        <div class="infos">
3
 
                <img src="${_arg.postedBy.gravatar()}?s=40"></img><br />
4
 
                ${_arg.postedAt.format('MM/dd, yyyy hh:mma')}
5
 
                <a href="@{Contacts.show(_arg.postedBy.id)}">${_arg.postedBy.toString()}</a>
6
 
                <p class="light">
7
 
                        #{pluralize size:_arg.postedBy.postsCount, word:'post' /}
8
 
                </p>
9
 
        </div>
10
 
        <div class="content">
11
 
                <div class="arrow"></div>
12
 
                #{if _showTopic}
13
 
                        <div class="postedIn">
14
 
                                #{if _caller.post.topic!=null}
15
 
                                Posted in <a href="@{Topics.show(_caller.post.topic.forum.id, _caller.post.topic.id)}">${_caller.post.topic.forum.name} - ${_caller.post.topic.subject}</a>
16
 
                                #{/if}
17
 
                                #{if _caller.post.flow!=null}
18
 
                                Posted in <a href="@{Flows.show(_caller.post.flow.id)}">${_caller.post.flow.title}</a>
19
 
                                #{/if}
20
 
                        </div>
21
 
                #{/if}
22
 
                ${_arg.content.escape().nl2br()}
23
 
        </div>
24
 
</div>
25
 
<hr class="nextPost" />