Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « apps « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 63d6bd723cf7421cfd87a82ee71a7eb429678a01 (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
-#   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 :page_title do
  = "everything happening from #{@app}"

- content_for :head do
  = include_javascripts :home

- content_for :body_class do
  = "apps_show"

- content_for :break_the_mold do
  = "width:100%;"

%h1
  = "#{@app}"

#main_stream.stream.canvas
  - if @posts.length > 0
    - for post in @posts
      .image-element.stream_element
        .hold-me
          = link_to(image_tag(post.image_url), post_path(post))
          .via
            = post.author.name
          .time{:integer => post.created_at.to_i}
    #pagination
      =link_to(t('more'), next_page_path, :class => 'paginate')