Show More
@@ -3115,6 +3115,26 table.code-browser .submodule-dir { | |||||
3115 | margin-top: 2px; |
|
3115 | margin-top: 2px; | |
3116 | } |
|
3116 | } | |
3117 |
|
3117 | |||
|
3118 | .locking_locked{ | |||
|
3119 | background: #FFF url("../images/icons/block_16.png") no-repeat scroll 3px; | |||
|
3120 | height: 16px; | |||
|
3121 | width: 20px; | |||
|
3122 | cursor: pointer; | |||
|
3123 | display: block; | |||
|
3124 | float: right; | |||
|
3125 | margin-top: 2px; | |||
|
3126 | } | |||
|
3127 | ||||
|
3128 | .locking_unlocked{ | |||
|
3129 | background: #FFF url("../images/icons/accept.png") no-repeat scroll 3px; | |||
|
3130 | height: 16px; | |||
|
3131 | width: 20px; | |||
|
3132 | cursor: pointer; | |||
|
3133 | display: block; | |||
|
3134 | float: right; | |||
|
3135 | margin-top: 2px; | |||
|
3136 | } | |||
|
3137 | ||||
3118 | .currently_following { |
|
3138 | .currently_following { | |
3119 | padding-left: 10px; |
|
3139 | padding-left: 10px; | |
3120 | padding-bottom: 5px; |
|
3140 | padding-bottom: 5px; |
@@ -54,15 +54,24 | |||||
54 | </div> |
|
54 | </div> | |
55 | %if c.rhodecode_user.username != 'default': |
|
55 | %if c.rhodecode_user.username != 'default': | |
56 | %if c.following: |
|
56 | %if c.following: | |
57 | <span id="follow_toggle" class="following" title="${_('Stop following this repository')}" |
|
57 | <span id="follow_toggle" class="following tooltip" title="${_('Stop following this repository')}" | |
58 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> |
|
58 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> | |
59 | </span> |
|
59 | </span> | |
60 | %else: |
|
60 | %else: | |
61 | <span id="follow_toggle" class="follow" title="${_('Start following this repository')}" |
|
61 | <span id="follow_toggle" class="follow tooltip" title="${_('Start following this repository')}" | |
62 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> |
|
62 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> | |
63 | </span> |
|
63 | </span> | |
64 | %endif |
|
64 | %endif | |
65 | %endif: |
|
65 | %endif: | |
|
66 | ||||
|
67 | ## locking icon | |||
|
68 | %if c.rhodecode_db_repo.enable_locking: | |||
|
69 | %if c.rhodecode_db_repo.locked[0]: | |||
|
70 | <span class="locking_locked tooltip" title="${_('Repository locked by %s') % h.person_by_id(c.rhodecode_db_repo.locked[0])}"></span> | |||
|
71 | %else: | |||
|
72 | <span class="locking_unlocked tooltip" title="${_('Repository unlocked')}"></span> | |||
|
73 | %endif | |||
|
74 | %endif | |||
66 | ##REPO TYPE |
|
75 | ##REPO TYPE | |
67 | %if h.is_hg(c.dbrepo): |
|
76 | %if h.is_hg(c.dbrepo): | |
68 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> |
|
77 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> |
General Comments 0
You need to be logged in to leave comments.
Login now