##// END OF EJS Templates
fixed show as raw link for private gists and separate files
marcink -
r4032:d15b3db4 default
parent child Browse files
Show More
@@ -81,7 +81,7 b''
81 <a href="${c.gist.gist_url()}"></a>
81 <a href="${c.gist.gist_url()}"></a>
82 <b style="margin:0px 0px 0px 4px">${file.path}</b>
82 <b style="margin:0px 0px 0px 4px">${file.path}</b>
83 <div style="float:right">
83 <div style="float:right">
84 ${h.link_to(_('Show as raw'),h.url('formatted_gist_file', gist_id=c.gist.gist_id, format='raw', revision=file.changeset.raw_id, f_path=file.path),class_="ui-btn")}
84 ${h.link_to(_('Show as raw'),h.url('formatted_gist_file', gist_id=c.gist.gist_access_id, format='raw', revision=file.changeset.raw_id, f_path=file.path),class_="ui-btn")}
85 </div>
85 </div>
86 </div>
86 </div>
87 <div class="code-body">
87 <div class="code-body">
General Comments 0
You need to be logged in to leave comments. Login now