Show More
@@ -253,7 +253,7 b' class _ToolTip(object):' | |||||
253 |
|
253 | |||
254 | tooltip = _ToolTip() |
|
254 | tooltip = _ToolTip() | |
255 |
|
255 | |||
256 |
files_icon = u'<i class="file-breadcrumb-copy tooltip icon-clipboard clipboard-action" data-clipboard-text="{}" title="Copy |
|
256 | files_icon = u'<i class="file-breadcrumb-copy tooltip icon-clipboard clipboard-action" data-clipboard-text="{}" title="Copy file path"></i>' | |
257 |
|
257 | |||
258 |
|
258 | |||
259 | def files_breadcrumbs(repo_name, commit_id, file_path, at_ref=None, limit_items=False, linkify_last_item=False): |
|
259 | def files_breadcrumbs(repo_name, commit_id, file_path, at_ref=None, limit_items=False, linkify_last_item=False): |
@@ -477,7 +477,7 b' from rhodecode.lib.diffs import NEW_FILE' | |||||
477 | <% final_path = filediff.target_file_path %> |
|
477 | <% final_path = filediff.target_file_path %> | |
478 | %endif |
|
478 | %endif | |
479 | %endif |
|
479 | %endif | |
480 |
<i style="color: #aaa" class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${final_path}" title="${_('Copy |
|
480 | <i style="color: #aaa" class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${final_path}" title="${_('Copy file path')}" onclick="return false;"></i> | |
481 | </span> |
|
481 | </span> | |
482 | ## anchor link |
|
482 | ## anchor link | |
483 | <a class="pill filediff-anchor" href="#a_${h.FID(filediff.raw_id, filediff.patch['filename'])}">¶</a> |
|
483 | <a class="pill filediff-anchor" href="#a_${h.FID(filediff.raw_id, filediff.patch['filename'])}">¶</a> |
@@ -104,6 +104,7 b'' | |||||
104 | | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} |
|
104 | | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))} | |
105 | % if not c.file.is_binary: |
|
105 | % if not c.file.is_binary: | |
106 | |<a href="#copySource" onclick="return false;" class="no-grey clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a> |
|
106 | |<a href="#copySource" onclick="return false;" class="no-grey clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a> | |
|
107 | |<a href="#copySource" onclick="return false;" class="no-grey clipboard-action" data-clipboard-text="${h.route_url('repo_files', repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path)}">${_('Copy permalink')}</a> | |||
107 | % endif |
|
108 | % endif | |
108 |
|
109 | |||
109 | </div> |
|
110 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now