Changeset - 93de03499097
[Not reviewed]
beta
0 6 0
Marcin Kuzminski - 13 years ago 2013-04-07 23:11:17
marcin@python-works.com
shortlog: show all refs (bookmarks,tags,branches) in one dedicated column
- rename confusing name bookbook to booktag (as others similar names)
6 files changed with 38 insertions and 30 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -2637,7 +2637,7 @@ h3.files_location {
 
    left: initial;
 
}
 

	
 
#graph_content .logtags .bookbook,
 
#graph_content .logtags .booktag,
 
#graph_content .logtags .tagtag {
 
    float: left;
 
    line-height: 1em;
 
@@ -2761,9 +2761,15 @@ h3.files_location {
 
    margin: 0px 2px;
 
}
 

	
 
#shortlog_data .branchtag,
 
#shortlog_data .booktag,
 
#shortlog_data .tagtag {
 
    margin: 0px 2px;
 
}
 

	
 
.branchtag,
 
.tagtag,
 
.bookbook,
 
.booktag,
 
.spantag {
 
    padding: 1px 3px 1px 3px;
 
    font-size: 10px;
 
@@ -2777,14 +2783,14 @@ h3.files_location {
 

	
 
#graph_content .branchtag,
 
#graph_content .tagtag,
 
#graph_content .bookbook {
 
#graph_content .booktag {
 
    margin: 1.1em 0;
 
    margin-right: 0.5em;
 
}
 

	
 
.branchtag,
 
.tagtag,
 
.bookbook {
 
.booktag {
 
    float: left;
 
}
 

	
 
@@ -2797,7 +2803,7 @@ h3.files_location {
 
    display: block;
 
}
 

	
 
.bookbook {
 
.booktag {
 
    border-color: #46A546;
 
    color: #46A546;
 
}
 
@@ -2831,7 +2837,7 @@ h3.files_location {
 
    text-decoration: none;
 
    color: inherit;
 
}
 
.logbooks .bookbook, .logbooks .bookbook, .logtags .bookbook, .logtags .bookbook {
 
.logbooks .booktag, .logbooks .booktag, .logtags .booktag, .logtags .booktag {
 
    padding: 1px 3px 1px 3px;
 
    background-color: #46A546;
 
    font-size: 10px;
 
@@ -2840,14 +2846,14 @@ h3.files_location {
 
    -webkit-border-radius: 3px;
 
    border-radius: 3px;
 
}
 
.logbooks .bookbook, .logbooks .bookbook a, .right .logtags .bookbook, .logtags .bookbook a {
 
.logbooks .booktag, .logbooks .booktag a, .right .logtags .booktag, .logtags .booktag a {
 
    color: #ffffff;
 
}
 

	
 
.logbooks .bookbook, .logbooks .bookbook a:hover,
 
.logtags .bookbook, .logtags .bookbook a:hover,
 
.bookbook a,
 
.bookbook a:hover {
 
.logbooks .booktag, .logbooks .booktag a:hover,
 
.logtags .booktag, .logtags .booktag a:hover,
 
.booktag a,
 
.booktag a:hover {
 
    text-decoration: none;
 
    color: inherit;
 
}
rhodecode/templates/bookmarks/bookmarks.html
Show inline comments
 
@@ -67,7 +67,7 @@ myDataTable.subscribe('postRenderEvent',
 
    var func = function(node){
 
        return node.parentNode.parentNode.parentNode.parentNode.parentNode;
 
    }
 
    q_filter('q_filter_bookmarks',YUQ('div.table tr td .logbooks .bookbook a'),func);
 
    q_filter('q_filter_bookmarks',YUQ('div.table tr td .logbooks .booktag a'),func);
 
});
 

	
 
</script>
rhodecode/templates/bookmarks/bookmarks_data.html
Show inline comments
 
@@ -13,7 +13,7 @@
 
        <tr class="parity${cnt%2}">
 
            <td>
 
                <span class="logbooks">
 
                    <span class="bookbook">${h.link_to(book[0],
 
                    <span class="booktag">${h.link_to(book[0],
 
                    h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
 
                </span>
 
            </td>
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -98,7 +98,7 @@ ${self.context_bar('changelog')}
 
                                    %endif
 
                                    %if h.is_hg(c.rhodecode_repo):
 
                                        %for book in cs.bookmarks:
 
                                            <div class="bookbook" title="${_('Bookmark %s') % book}">
 
                                            <div class="booktag" title="${_('Bookmark %s') % book}">
 
                                                ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                                            </div>
 
                                        %endfor
rhodecode/templates/changeset/changeset_range.html
Show inline comments
 
@@ -83,7 +83,7 @@ ${self.context_bar('changelog')}
 
                %endif
 
                %if h.is_hg(c.rhodecode_repo):
 
                  %for book in cs.bookmarks:
 
                  <span class="bookbook" title="${_('Bookmark %s') % book}">
 
                  <span class="booktag" title="${_('Bookmark %s') % book}">
 
                     ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                  </span>
 
                  %endfor
rhodecode/templates/shortlog/shortlog_data.html
Show inline comments
 
@@ -6,8 +6,7 @@
 
        <th class="left">${_('Commit message')}</th>
 
        <th class="left">${_('Age')}</th>
 
        <th class="left">${_('Author')}</th>
 
        <th class="left">${_('Branch')}</th>
 
        <th class="left">${_('Tags')}</th>
 
        <th class="left">${_('Refs')}</th>
 
    </tr>
 
%for cnt,cs in enumerate(c.repo_changesets):
 
    <tr class="parity${cnt%2}">
 
@@ -37,20 +36,23 @@
 
        </td>
 
        <td title="${cs.author}">${h.person(cs.author)}</td>
 
        <td>
 
            <span class="logtags">
 
                %if cs.branch:
 
                <span class="branchtag">
 
                    ${cs.branch}
 
                </span>
 
                %endif
 
            </span>
 
        </td>
 
        <td>
 
            <span class="logtags">
 
                %for tag in cs.tags:
 
                    <span class="tagtag">${tag}</span>
 
            %if h.is_hg(c.rhodecode_repo):
 
                %for book in cs.bookmarks:
 
                    <div class="booktag" title="${_('Bookmark %s') % book}">
 
                        ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
                    </div>
 
                %endfor
 
            </span>
 
            %endif
 
            %for tag in cs.tags:
 
             <div class="tagtag" title="${_('Tag %s') % tag}">
 
                 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
 
             </div>
 
            %endfor
 
            %if cs.branch:
 
             <div class="branchtag" title="${_('Branch %s' % cs.branch)}">
 
                 ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
 
             </div>
 
            %endif
 
        </td>
 
    </tr>
 
%endfor
0 comments (0 inline, 0 general)