##// END OF EJS Templates
repository pages: cleanup of use of repository context menu
Mads Kiilerich -
r3601:51da0e01 beta
parent child Browse files
Show More
@@ -4690,9 +4690,6 b' div.diffblock .code-header.banner {'
4690 padding: 3px 3px 11px 3px;
4690 padding: 3px 3px 11px 3px;
4691 }
4691 }
4692
4692
4693 div.diffblock .code-header.cv {
4694 height: 34px;
4695 }
4696 div.diffblock .code-header-title {
4693 div.diffblock .code-header-title {
4697 padding: 0px 0px 10px 5px !important;
4694 padding: 0px 0px 10px 5px !important;
4698 margin: 0 !important;
4695 margin: 0 !important;
@@ -5,7 +5,6 b''
5 ${_('%s Bookmarks') % c.repo_name} · ${c.rhodecode_name}
5 ${_('%s Bookmarks') % c.repo_name} · ${c.rhodecode_name}
6 </%def>
6 </%def>
7
7
8
9 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
10 <input class="q_filter_box" id="q_filter_bookmarks" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
9 <input class="q_filter_box" id="q_filter_bookmarks" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
11 ${_('Bookmarks')}
10 ${_('Bookmarks')}
@@ -14,9 +13,10 b''
14 <%def name="page_nav()">
13 <%def name="page_nav()">
15 ${self.menu('bookmarks')}
14 ${self.menu('bookmarks')}
16 </%def>
15 </%def>
16
17 <%def name="main()">
17 <%def name="main()">
18 ${self.context_bar('switch-to')}
18 <div class="box">
19 <div class="box">
19 ${self.context_bar('switch-to')}
20 <!-- box / title -->
20 <!-- box / title -->
21 <div class="title">
21 <div class="title">
22 ${self.breadcrumbs()}
22 ${self.breadcrumbs()}
@@ -26,6 +26,7 b''
26 <%include file='bookmarks_data.html'/>
26 <%include file='bookmarks_data.html'/>
27 </div>
27 </div>
28 </div>
28 </div>
29
29 <script type="text/javascript">
30 <script type="text/javascript">
30
31
31 // main table sorting
32 // main table sorting
@@ -18,6 +18,7 b''
18 </%def>
18 </%def>
19
19
20 <%def name="main()">
20 <%def name="main()">
21 ${self.context_bar('changelog')}
21 <div class="box">
22 <div class="box">
22 <!-- box / title -->
23 <!-- box / title -->
23 <div class="title">
24 <div class="title">
@@ -25,8 +26,7 b''
25 </div>
26 </div>
26 <div class="table">
27 <div class="table">
27 <div id="body" class="diffblock">
28 <div id="body" class="diffblock">
28 <div class="code-header cv">
29 <div class="code-header">
29 <h3 class="code-header-title">${_('Show changesets')}</h3>
30 <div>
30 <div>
31 ${h.link_to('r%s:%s -> r%s:%s' % (c.cs_ranges[0].revision, h.short_id(c.cs_ranges[0].raw_id), c.cs_ranges[-1].revision, h.short_id(c.cs_ranges[-1].raw_id)),
31 ${h.link_to('r%s:%s -> r%s:%s' % (c.cs_ranges[0].revision, h.short_id(c.cs_ranges[0].raw_id), c.cs_ranges[-1].revision, h.short_id(c.cs_ranges[-1].raw_id)),
32 h.url('compare_url',repo_name=c.repo_name,org_ref_type='rev',org_ref=getattr(c.cs_ranges[0].parents[0] if c.cs_ranges[0].parents else h.EmptyChangeset(),'raw_id'),other_ref_type='rev',other_ref=c.cs_ranges[-1].raw_id)
32 h.url('compare_url',repo_name=c.repo_name,org_ref_type='rev',org_ref=getattr(c.cs_ranges[0].parents[0] if c.cs_ranges[0].parents else h.EmptyChangeset(),'raw_id'),other_ref_type='rev',other_ref=c.cs_ranges[-1].raw_id)
@@ -18,6 +18,7 b''
18 </%def>
18 </%def>
19
19
20 <%def name="main()">
20 <%def name="main()">
21 ${self.context_bar('changelog')}
21 <div class="box">
22 <div class="box">
22 <!-- box / title -->
23 <!-- box / title -->
23 <div class="title">
24 <div class="title">
@@ -25,8 +26,7 b''
25 </div>
26 </div>
26 <div class="table">
27 <div class="table">
27 <div id="body" class="diffblock">
28 <div id="body" class="diffblock">
28 <div class="code-header cv">
29 <div class="code-header">
29 <h3 class="code-header-title">${_('Compare revisions')}</h3>
30 <div>
30 <div>
31 ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -&gt; ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} <a href="${c.swap_url}">[swap]</a>
31 ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -&gt; ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} <a href="${c.swap_url}">[swap]</a>
32 </div>
32 </div>
@@ -15,7 +15,9 b''
15 <%def name="page_nav()">
15 <%def name="page_nav()">
16 ${self.menu('files')}
16 ${self.menu('files')}
17 </%def>
17 </%def>
18
18 <%def name="main()">
19 <%def name="main()">
20 ${self.context_bar('files')}
19 <div class="box">
21 <div class="box">
20 <!-- box / title -->
22 <!-- box / title -->
21 <div class="title">
23 <div class="title">
@@ -27,6 +29,7 b''
27 ${diff_block.diff_block(c.changes)}
29 ${diff_block.diff_block(c.changes)}
28 </div>
30 </div>
29 </div>
31 </div>
32
30 <script>
33 <script>
31 YUE.onDOMReady(function(){
34 YUE.onDOMReady(function(){
32
35
@@ -19,7 +19,9 b''
19 <%def name="page_nav()">
19 <%def name="page_nav()">
20 ${self.menu('settings')}
20 ${self.menu('settings')}
21 </%def>
21 </%def>
22
22 <%def name="main()">
23 <%def name="main()">
24 ${self.context_bar('options')}
23 <div class="box">
25 <div class="box">
24 <!-- box / title -->
26 <!-- box / title -->
25 <div class="title">
27 <div class="title">
@@ -5,7 +5,6 b''
5 ${_('%s Tags') % c.repo_name} &middot; ${c.rhodecode_name}
5 ${_('%s Tags') % c.repo_name} &middot; ${c.rhodecode_name}
6 </%def>
6 </%def>
7
7
8
9 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
10 <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
9 <input class="q_filter_box" id="q_filter_tags" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
11 ${_('Tags')}
10 ${_('Tags')}
@@ -14,6 +13,7 b''
14 <%def name="page_nav()">
13 <%def name="page_nav()">
15 ${self.menu('tags')}
14 ${self.menu('tags')}
16 </%def>
15 </%def>
16
17 <%def name="main()">
17 <%def name="main()">
18 ${self.context_bar('switch-to')}
18 ${self.context_bar('switch-to')}
19 <div class="box">
19 <div class="box">
General Comments 0
You need to be logged in to leave comments. Login now