Show More
@@ -56,7 +56,7 b'' | |||
|
56 | 56 | </div> |
|
57 | 57 | <div class="editor_container"> |
|
58 | 58 | <pre id="editor_pre"></pre> |
|
59 | <textarea id="editor_${h.FID('f',file.path)}" name="content" >${file.content}</textarea> | |
|
59 | <textarea id="editor_${h.FID('f',file.path)}" name="content" >${file.str_content}</textarea> | |
|
60 | 60 | </div> |
|
61 | 61 | </div> |
|
62 | 62 | <input type="hidden" name="__end__" /> |
@@ -43,7 +43,7 b'' | |||
|
43 | 43 | |
|
44 | 44 | <div class="pull-right buttons"> |
|
45 | 45 | ## only owner should see that |
|
46 | <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard no-grey clipboard-action" data-clipboard-text="${c.files[0].content}">${_('Copy content')}</a> | |
|
46 | <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard no-grey clipboard-action" data-clipboard-text="${c.files[0].str_content}">${_('Copy content')}</a> | |
|
47 | 47 | |
|
48 | 48 | %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id: |
|
49 | 49 | ${h.link_to(_('Edit'), h.route_path('gist_edit', gist_id=c.gist.gist_access_id), class_="btn btn-mini")} |
General Comments 0
You need to be logged in to leave comments.
Login now