gitprep / templates / main / blobdiff.html.ep /
Newer Older
22 lines | 0.952kb
copy gitweblite soruce code
root authored on 2012-11-23
1
% layout 'common';
renamed gitpub to gitprep
Yuki Kimoto authored on 2012-11-26
2
  % my $head_id = gitprep_get_head_id($project);
copy gitweblite soruce code
root authored on 2012-11-23
3
  %= include '/include/header', title => 'Blob Diff', project => $project;
4
  %= include '/include/current_directory', home_ns => $home_ns, home => $home;
5
  %= include '/include/page_navi', current => 'blobdiff', head_id => $id, project_ns => $project_ns;
6
  <div class="page_nav">
7
    % my $blobdiff_plain_url = url_for('blobdiff_plain', project => $project_ns,
8
    %   diff => "$from_id..$id", file => $file);
9
    % $blobdiff_plain_url->query('from-file' => $from_file) if $file ne $from_file;
10
    <a href="<%= $blobdiff_plain_url %>">
11
      Raw
12
    </a>
13
    <br/>
14
  </div>
15
  <div class="header">
16
    <a class="title" href=
17
      "<%= url_for('commit', project => $project_ns, id => $id) %>">
18
      <%= $commit->{title} %>
19
    </a>
20
  </div>
21
  %= include '/include/page_path', project_ns => $project_ns, id => $id, Path => $file, type => 'blob';
22
  %= include '/include/blobdiff_body';