@@ -23,12 +23,13 @@ news
- #415: Adding comment to changeset causes reload.
Comments are now added via ajax and doesn't reload the page
- #374 LDAP config is discarded when LDAP can't be activated
- limited push/pull operations are now logged for git in the journal
- bumped mercurial to 2.2.X series
- added support for displaying submodules in file-browser
- #421 added bookmarks in changlog view
fixes
+++++
- fixed dev-version marker for stable when served from source codes
- fixed missing permission checks on show forks page
@@ -34,12 +34,16 @@ class MercurialChangeset(BaseChangeset):
@LazyProperty
def branch(self):
return safe_unicode(self._ctx.branch())
def bookmarks(self):
return map(safe_unicode, self._ctx.bookmarks())
def message(self):
return safe_unicode(self._ctx.description())
def author(self):
return safe_unicode(self._ctx.user())
@@ -2517,12 +2517,16 @@ h3.files_location {
color: #666666;
clear:both;
}
.right .logtags{
padding: 2px 2px 2px 2px;
.right .logtags .branchtag,.right .logtags .tagtag,.right .logtags .booktag{
margin: 0px 2px;
.right .logtags .branchtag,.logtags .branchtag {
padding: 1px 3px 1px 3px;
background-color: #bfbfbf;
font-size: 10px;
font-weight: bold;
color: #ffffff;
@@ -2555,28 +2559,28 @@ h3.files_location {
.right .logtags .tagtag a:hover,.logtags .tagtag a:hover{
text-decoration: none;
.right .logbooks .bookbook,.logbooks .bookbook {
padding: 1px 3px 2px;
.right .logbooks .bookbook,.logbooks .bookbook,.right .logtags .bookbook,.logtags .bookbook {
background-color: #46A546;
font-size: 9.75px;
text-transform: uppercase;
white-space: nowrap;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
.right .logbooks .bookbook,.logbooks .bookbook a{
.right .logbooks .bookbook,.logbooks .bookbook a,.right .logtags .bookbook,.logtags .bookbook a{
.right .logbooks .bookbook,.logbooks .bookbook a:hover{
.right .logbooks .bookbook,.logbooks .bookbook a:hover,.right .logtags .bookbook,.logtags .bookbook a:hover{
div.browserblock {
overflow: hidden;
border: 1px solid #ccc;
@@ -90,14 +90,22 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
<span class="logtags">
%if len(cs.parents)>1:
<span class="merge">${_('merge')}</span>
%endif
%if cs.branch:
<span class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
</span>
%if h.is_hg(c.rhodecode_repo):
%for book in cs.bookmarks:
<span class="bookbook" title="${'%s %s' % (_('bookmark'),book)}">
${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%for tag in cs.tags:
<span class="tagtag" title="${'%s %s' % (_('tag'),tag)}">
${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
</div>
Status change: