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

show.html.haml « commits « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 147aaafb8553838f9a085371740b522bfadda89d (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
37
38
39
%h3
  = "[ #{@commit.committer} ]  #{truncate @commit.message, :length => 80}"
-#= link_to 'Back', project_commits_path(@project), :class => "button"
%table.round-borders
  %tr
    %td ID
    %td= @commit.id
  %tr
    %td Author
    %td= @commit.author
  %tr
    %td Commiter
    %td= @commit.committer
  %tr
    %td Commited Date
    %td= @commit.committed_date
  %tr
    %td Message
    %td= @commit.message
  %tr
    %td Tree
    %td= link_to 'Browse Code', tree_project_path(@project, :commit_id => @commit.id)
.clear

#tabs
  %ul
    %li
      %a{ :href => "#tabs-1" } Diff
    %li
      %a{ :href => "#tabs-2" } Comments
      %span{ :class => "notes_count" }= @notes.count
  %hr
  #tabs-1
    = render "commits/diff"
  #tabs-2
    = render "notes/notes"

:javascript
  $(function() { $( "#tabs" ).tabs(); });