summary: move the RSS button to the right pane of repo name
This commit is contained in:
parent
89d8b5fc75
commit
d7aa0fb347
3 changed files with 15 additions and 16 deletions
|
|
@ -304,6 +304,11 @@ mark,
|
|||
}
|
||||
|
||||
.title-content {
|
||||
|
||||
&.repo-title {
|
||||
float: none
|
||||
}
|
||||
|
||||
float: left;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@
|
|||
|
||||
|
||||
<%def name="repo_page_title(repo_instance)">
|
||||
<div class="title-content">
|
||||
<div class="title-content repo-title">
|
||||
<div class="title-main">
|
||||
## SVN/HG/GIT icons
|
||||
%if h.is_hg(repo_instance):
|
||||
|
|
@ -213,6 +213,15 @@
|
|||
## repo name with group name
|
||||
${h.breadcrumb_repo_link(repo_instance)}
|
||||
|
||||
## Context Actions
|
||||
<div class="pull-right">
|
||||
%if c.rhodecode_user.username != h.DEFAULT_USER:
|
||||
<a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name, _query=dict(auth_token=c.rhodecode_user.feed_token))}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
|
||||
%else:
|
||||
<a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
|
||||
%endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
## FORKED
|
||||
|
|
|
|||
|
|
@ -197,21 +197,6 @@
|
|||
</div>
|
||||
% endif
|
||||
|
||||
## Context Action
|
||||
<div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
|
||||
<div class="left-label-summary">
|
||||
<p>${_('Feed')}</p>
|
||||
|
||||
<div class="right-label-summary">
|
||||
%if c.rhodecode_user.username != h.DEFAULT_USER:
|
||||
<a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name, _query=dict(auth_token=c.rhodecode_user.feed_token))}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
|
||||
%else:
|
||||
<a href="${h.route_path('atom_feed_home', repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
|
||||
%endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## Repo size
|
||||
<div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
|
||||
<div class="left-label-summary">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue