Changeset - c65b440540da
[Not reviewed]
beta
0 5 0
Leonardo Carneiro - 13 years ago 2013-03-11 16:43:41
leonardo@unity3d.com
Style clean up, and comments removal.
3 files changed with 3 insertions and 221 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/contextbar.css
Show inline comments
 
@@ -46,37 +46,35 @@
 

	
 
#header #header-inner #quick a,
 
#content #context-bar,
 
#content #context-bar a,
 
#content #context-bar button {
 
 	color: #FFFFFF;
 
}
 

	
 
#header #header-inner #quick a:hover,
 
#content #context-bar a:hover,
 
#content #context-bar button:hover {
 
 	text-decoration: none;
 
/* 	color: #bfe3ff;*/
 
}
 

	
 
#content #context-bar .icon {
 
	display: inline-block;
 
	width: 16px;
 
	height: 16px;
 
	vertical-align: text-bottom;
 
}
 

	
 
ul.horizontal-list {
 
	display: block;
 
/*	overflow: hidden;*/
 
}
 

	
 
ul.horizontal-list > li {
 
	float: left;
 
	position: relative;
 
}
 

	
 
#header #header-inner #quick ul,
 
ul.horizontal-list > li ul {
 
	position: absolute;
 
	display: none;
 
	right: 0;
 
@@ -121,110 +119,97 @@ ul.horizontal-list li a {
 
#breadcrumbs span{
 
	font-weight: bold;
 
	font-size: 2em;
 
}
 

	
 
#context-top {
 
	position: relative;
 
	overflow: hidden;
 
	border-bottom: 1px solid #003162;
 
	padding: 5px;
 
}
 

	
 
/*#quick,*/
 
#header #header-inner #quick ul,
 
#revision-changer,
 
#context-pages,
 
#context-pages ul /*,
 
ul#context-actions */{
 
#context-pages ul {
 
	background: #3b6998; /* Old browsers */
 
	background: -moz-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* FF3.6+ */
 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4574a2), color-stop(100%,#2f5d8b)); /* Chrome,Safari4+ */
 
	background: -webkit-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Chrome10+,Safari5.1+ */
 
	background: -o-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Opera 11.10+ */
 
	background: -ms-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* IE10+ */
 
	background: linear-gradient(to bottom, #4574a2 0%, #2f5d8b 100%); /* W3C */
 
    /*Filter on IE will also use overflow:hidden implicitly, and that would clip our inner menus.*/
 
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */*/
 
}
 

	
 
#header #header-inner #quick a,
 
#context-actions a,
 
#context-pages a {
 
	background-repeat: no-repeat;
 
	background-position: 10px 50%;
 
	padding-left: 30px;
 
}
 

	
 
#quick a,
 
#context-pages ul ul a{
 
	padding-left: 10px;
 
}
 

	
 
ul#context-actions {
 
	display: inline-block;
 
	float: right;
 
	border-radius: 4px;
 
	/*background-color:#3b6998;*/
 
	background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
 
/*	padding: 5px;*/
 
}
 
#content ul#context-actions li {
 
	padding: 0px;
 
	border-right: 1px solid rgba(0,0,0,0.1);
 
	border-left: 1px solid rgba(255,255,255,0.1);
 
}
 

	
 
#context-actions button,
 
#context-actions a {
 
	display: block;
 
	cursor: pointer;
 
	background: none;
 
	border: none;
 
	margin: 0px;
 
	height: auto;
 
	padding: 10px 10px 10px 30px;
 
	background-repeat: no-repeat;
 
	background-position: 10px 50%;
 
	font-size: 1em;
 
	/*padding-top: 24px;*/
 
}
 

	
 
#context-actions a {
 
	padding: 11px 10px 12px 30px;
 
}
 

	
 
/*#context-actions button{
 
	padding-top: 22px;
 
	height: 40px;
 
}*/
 
#header #header-inner #quick li:hover,
 
#revision-changer:hover,
 
#context-pages li:hover,
 
#context-actions li:hover,
 
#content #context-actions li:hover,
 
#header #header-inner #quick li.current,
 
#context-pages li.current {
 
	/*background: rgba(255,255,255,0.2);*/
 
	background: #6388ad; /* Old browsers */
 
	background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
 
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */
 
	background: -o-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */
 
	background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* IE10+ */
 
	background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
 
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */*/
 

	
 
	background-image: -webkit-gradient(linear, left top, left bottom, rgb(255,255,255) 0%, rgb(255,255,255) 100%);
 
	
 
	/*border-radius: 4px;*/
 
}
 

	
 

	
 
#content #context-actions li:first-child {
 
	border-left: none;
 
	border-radius:4px 0 0px 4px; 
 
}
 

	
 
#content #context-actions li:last-child {
 
	border-right: none;
 
	border-radius:0 4px 4px 0; 
 
}
 
@@ -251,31 +236,29 @@ ul#context-actions {
 
#content #context-bar #context-actions button.follow .show-follow {
 
	display: block;
 
}
 

	
 
#content #context-bar #context-actions button.following .show-following {
 
	display: block;
 
}
 

	
 
#context-state {
 
	background-color: #336699;
 
	border-top: 1px solid #517da8;
 
	min-height: 36px;
 
/*	overflow: hidden;*/
 
}
 

	
 
#context-pages {
 
	float: right;
 
	border-left: 1px solid rgba(0,0,0,0.1);
 
/*	overflow: hidden;*/
 
}
 

	
 
#context-pages li.curreasdnt{
 
	background: #535353; /* Old browsers */
 
	background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */
 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */
 
	background: -webkit-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Chrome10+,Safari5.1+ */
 
	background: -o-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Opera 11.10+ */
 
	background: -ms-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* IE10+ */
 
	background: linear-gradient(to bottom, #5d5d5d 0%, #484848 100%); /* W3C */
 
}
 

	
rhodecode/public/css/style.css
Show inline comments
 
@@ -396,62 +396,32 @@ div:hover > a.permalink {
 
    color: #bfe3ff;
 
}
 

	
 
#header #header-inner #quick {
 
    position: relative;
 
    float: right;
 
    list-style-type: none;
 
    list-style-position: outside;
 
    margin: 4px 8px 0 0;
 
    padding: 0;
 
    border-radius: 4px;
 
}
 
/*
 
#header #header-inner #quick > li {
 
    position: relative;
 
    float: left;
 
    margin: 0 5px 0 0;
 
    padding: 0;
 
}
 

	
 
#header #header-inner #quick li a.menu_link {
 
    top: 0;
 
    left: 0;
 
    height: 1%;
 
    display: block;
 
    clear: both;
 
    overflow: hidden;
 
    color: #FFF;
 
    font-weight: 700;
 
    text-decoration: none;
 
    background: #369;
 
    padding: 0;
 
    -webkit-border-radius: 4px 4px 4px 4px;
 
    -khtml-border-radius: 4px 4px 4px 4px;
 
    border-radius: 4px 4px 4px 4px;
 
}
 
*/
 

	
 
#header #header-inner #quick li span.short {
 
    padding: 9px 6px 8px 6px;
 
}
 

	
 
#header #header-inner #quick li span {
 
    /*top: 0;
 
    right: 0;
 
    height: 1%;*/
 
    display: inline;
 
    /*float: left;*/
 
    /*border-left: 1px solid #3f6f9f;*/
 
    margin: 0;
 
    /*padding: 10px 12px 8px 10px;*/
 
}
 

	
 
#header #header-inner #quick li span.normal {
 
    border: none;
 
    padding: 10px 12px 8px;
 
}
 

	
 
#header #header-inner #quick li span.icon {
 

	
 
    border-left: none;
 
    padding-left: 10px ;
 
}
 
@@ -460,43 +430,24 @@ div:hover > a.permalink {
 
    top: 0;
 
    left: 0;
 
    border-left: none;
 
    border-right: 1px solid #2e5c89;
 
    padding: 8px 6px 4px;
 
}
 

	
 
#header #header-inner #quick li span.icon img, #header #header-inner #quick li span.icon_short img {
 
    vertical-align: middle;
 
    margin-bottom: 2px;
 
}
 

	
 
/*#header #header-inner #quick > li.current > a,
 
#header #header-inner #quick > li > a:hover*/ {
 
    background-color: #4e4e4e;
 
}
 
/*
 
#header #header-inner #quick li.current a span,
 
#header #header-inner #quick li a:hover span {
 
    border-left: 1px solid #545454;
 
}
 
*/
 
/*
 
#header #header-inner #quick li.current a span.icon,
 
#header #header-inner #quick li.current a span.icon_short,
 
#header #header-inner #quick li a:hover span.icon,
 
#header #header-inner #quick li a:hover span.icon_short {
 
    border-left: none;
 
    border-right: 1px solid #464646;
 
}
 
*/
 
#header #header-inner #quick ul.repo_switcher {
 
    max-height: 275px;
 
    overflow-x: hidden;
 
    overflow-y: auto;
 
}
 

	
 
#header #header-inner #quick ul.repo_switcher li.qfilter_rs {
 
    padding: 2px 3px;
 
    padding-right: 17px;
 
}
 

	
 
#header #header-inner #quick ul.repo_switcher li.qfilter_rs  input{
 
@@ -946,25 +897,24 @@ tbody .yui-dt-editable { cursor: pointer
 
#content #left {
 
    left: 0;
 
    width: 280px;
 
    position: absolute;
 
}
 

	
 
#content #right {
 
    margin: 0 60px 10px 290px;
 
}
 

	
 
#content div.box {
 
    clear: both;
 
/*    overflow: hidden;*/
 
    background: #fff;
 
    margin: 0 0 10px;
 
    padding: 0 0 10px;
 
    -webkit-border-radius: 4px 4px 4px 4px;
 
    -khtml-border-radius: 4px 4px 4px 4px;
 
    border-radius: 4px 4px 4px 4px;
 
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
 
}
 

	
 
#content div.box-left {
 
    width: 49%;
 
    clear: none;
 
@@ -1717,26 +1667,24 @@ div.form div.fields div.field div.button
 

	
 
#content div.box div.traffic table td {
 
    background: transparent;
 
    border: none;
 
    padding: 2px 3px 3px;
 
}
 

	
 
#content div.box div.traffic table td.legendLabel {
 
    padding: 0 3px 2px;
 
}
 

	
 
#content div.box #summary {
 
    /*float: left;*/
 
    /*width: 80%;*/
 
    margin-right: 200px;
 
}
 

	
 
#summary-menu-stats{
 
    float: left;
 
    width: 180px;
 
    position: absolute;
 
    top: 0;
 
    right: 0;
 
}
 

	
 
#summary-menu-stats ul {
 
@@ -1759,25 +1707,24 @@ div.form div.fields div.field div.button
 
#content #summary-menu-stats li:first-child {
 
    border-top: none;
 
}
 

	
 
#summary-menu-stats a.followers         { background-image: url('../images/icons/heart.png')}
 
#summary-menu-stats a.forks             { background-image: url('../images/icons/arrow_divide.png')}
 
#summary-menu-stats a.settings          { background-image: url('../images/icons/cog_edit.png')}
 
#summary-menu-stats a.feed              { background-image: url('../images/icons/rss_16.png')}
 
#summary-menu-stats a.repo-size         { background-image: url('../images/icons/server.png')}
 

	
 
#summary-menu-stats a {
 
    display: block;
 
    /*color: #000000;*/
 
    padding: 12px 30px;
 
    background-repeat: no-repeat;
 
    background-position: 10px 50%;
 
    padding-right: 10px;
 
}
 

	
 

	
 
#repo_size_2 {
 
    margin-left: 30px;
 
    display: block;
 
    padding-right: 10px;
 
    padding-bottom: 7px;
 
@@ -2581,29 +2528,24 @@ h3.files_location {
 
    width: 76px;
 
    color: #666;
 
    font-size: 10px;
 
}
 

	
 
#graph_content #changesets .container .right {
 
    width: 120px;
 
    padding-right: 0px;
 
    overflow: visible;
 
    position: relative;
 
}
 

	
 
/*
 
#graph_content .container .column3 {
 
    width: 12%
 
}
 
*/
 
#graph_content .container .mid {
 
    padding: 0;
 
}
 

	
 
#graph_content .log-container{
 
    position: relative;
 
}
 

	
 
#graph_content #changesets td.checkbox{
 
    width: 20px;
 
}
 

	
 
@@ -2638,25 +2580,24 @@ h3.files_location {
 
}
 

	
 
#graph_content .comments-container,
 
#graph_content .logtags {
 
    display: block;
 
    float: left;
 
    overflow: hidden;
 
    padding: 0;
 
    margin: 0;
 
}
 

	
 
#graph_content .comments-container {
 
    /*width: 40px;*/
 
    margin: 0.8em 0;
 
    margin-right: 0.5em;
 
}
 

	
 
#graph_content  .tagcontainer {
 
    width: 80px;
 
    position: relative;
 
    float:right;
 
    height: 100%;
 
    top: 7px;
 
    margin-left: 0.5em;
 
}
 
@@ -2687,34 +2628,24 @@ h3.files_location {
 
    float: left;
 
    line-height: 1em;
 
    margin-bottom: 1px;
 
    margin-right: 1px;
 
    padding: 1px 3px;
 
    font-size: 10px;
 
}
 

	
 
#graph_content .container .mid .message a:hover {
 
    text-decoration: none;
 
}
 

	
 
/*
 
 * Stuff we might want to remove from the changelog, or reposition in a tooltip
 
 */
 
#graph_content .container .changeset_id,
 
#graph_content .container .changes,
 
#graph_content .container .changed_total,
 
#graph_content .container .parent {
 
    display: none;
 
}
 

	
 
.revision-link {
 
    color:#3F6F9F;
 
    font-weight: bold !important;
 
}
 

	
 
.issue-tracker-link {
 
    color:#3F6F9F;
 
    font-weight: bold !important;
 
}
 

	
 
.changeset-status-container {
 
    padding-right: 5px;
 
@@ -2801,25 +2732,24 @@ h3.files_location {
 
    text-transform: uppercase;
 
    white-space: nowrap;
 
    -webkit-border-radius: 3px;
 
    border-radius: 3px;
 
    margin-right: 2px;
 
}
 

	
 
.right .parent {
 
    color: #666666;
 
    clear:both;
 
}
 
.right .logtags {
 
    /*padding: 2px 2px 2px 2px;*/
 
    line-height: 2.2em;
 
}
 
.branchtag, .logtags .tagtag, .logtags .booktag {
 
    margin: 0px 2px;
 
}
 

	
 
.branchtag,
 
.tagtag,
 
.bookbook,
 
.spantag {
 
    padding: 1px 3px 1px 3px;
 
    font-size: 10px;
 
@@ -2839,27 +2769,25 @@ h3.files_location {
 
}
 

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

	
 
.right .logtags .branchtag,
 
.logtags .tagtag,
 
.right .merge {
 
    float: right;
 
    /*height: 1em;*/
 
    line-height: 1em;
 
    /*padding: 0px 0px !important;*/
 
    margin: 1px 1px !important;
 
    display: block;
 
}
 

	
 
.bookbook {
 
    border-color: #46A546;
 
    color: #46A546;
 
}
 

	
 
.tagtag {
 
    border-color: #62cffc;
 
    color: #62cffc;
 
@@ -3563,25 +3491,24 @@ div.gravatar {
 
div.gravatar img {
 
    -webkit-border-radius: 2px;
 
    -khtml-border-radius: 2px;
 
    border-radius: 2px;
 
}
 

	
 
#header, #content, #footer {
 
    min-width: 978px;
 
}
 

	
 
#content {
 
    clear: both;
 
    /*overflow: hidden;*/
 
    padding: 10px 10px 14px 10px;
 
}
 

	
 
#content.hover {
 
    padding: 55px 10px 14px 10px !important;
 
}
 

	
 
#content div.box div.title div.search {
 
    border-left: 1px solid #316293;
 
}
 

	
 
#content div.box div.title div.search div.input input {
 
@@ -3711,25 +3638,24 @@ div.gravatar img {
 
}
 

	
 
.ui-btn.active {
 
    font-weight: bold;
 
}
 

	
 
ins, div.options a:hover {
 
    text-decoration: none;
 
}
 

	
 
img,
 
#header #header-inner #quick li a:hover span.normal,
 
/*#header #header-inner #quick li ul li.last,*/
 
#content div.box div.form div.fields div.field div.textarea table td table td a,
 
#clone_url,
 
#clone_url_id
 
{
 
    border: none;
 
}
 

	
 
img.icon, .right .merge img {
 
    vertical-align: bottom;
 
}
 

	
 
#header ul#logged-user, #content div.box div.title ul.links,
 
@@ -3848,25 +3774,24 @@ div#legend_data, div#legend_container, d
 

	
 
#content div.box div.form div.fields div.field div.checkboxes div.checkbox label, #content div.box div.form div.fields div.field div.radios div.radio label {
 
    height: 1%;
 
    display: block;
 
    float: left;
 
    margin: 2px 0 0 4px;
 
}
 

	
 
div.form div.fields div.field div.button input,
 
#content div.box div.form div.fields div.buttons input
 
div.form div.fields div.buttons input,
 
#content div.box div.action div.button input {
 
    /*color: #000;*/
 
    font-size: 11px;
 
    font-weight: 700;
 
    margin: 0;
 
}
 

	
 
input.ui-button {
 
    background: #e5e3e3 url("../images/button.png") repeat-x;
 
    border-top: 1px solid #DDD;
 
    border-left: 1px solid #c6c6c6;
 
    border-right: 1px solid #DDD;
 
    border-bottom: 1px solid #c6c6c6;
 
    color: #515151 !important;
 
@@ -4442,39 +4367,24 @@ form.comment-form {
 

	
 
.comment-inline-form .clearfix {
 
    background: #EEE;
 
    -webkit-border-radius: 4px;
 
    border-radius: 4px;
 
    padding: 5px;
 
}
 

	
 
div.comment-inline-form {
 
    padding:4px 0px 6px 0px;
 
}
 

	
 

	
 
tr.hl-comment {
 
/*
 
    background-color: #FFFFCC !important;
 
*/
 
}
 

	
 
/*
 
tr.hl-comment pre {
 
    border-top: 2px solid #FFEE33;
 
    border-left: 2px solid #FFEE33;
 
    border-right: 2px solid #FFEE33;
 
}
 
*/
 

	
 
.comment-inline-form strong {
 
    display: block;
 
    margin-bottom: 15px;
 
}
 

	
 
.comment-inline-form textarea {
 
    width: 100%;
 
    height: 100px;
 
    font-family: 'Monaco', 'Courier', 'Courier New', monospace;
 
}
 

	
 
form.comment-inline-form {
 
@@ -4562,35 +4472,29 @@ form.comment-inline-form {
 
    color: #666;
 
    font-size: 16px;
 
}
 
.inline-comments-button .add-comment {
 
    margin:2px 0px 8px 5px !important
 
}
 

	
 
.notification-paginator {
 
    padding: 0px 0px 4px 16px;
 
    float: left;
 
}
 

	
 
.menu_link_user {
 
    /*padding: 10px 8px 8px 8px !important;*/
 
}
 

	
 
#context-pages .pull-request span,
 
.menu_link_notifications {
 
    padding: 4px 4px !important;
 
    /*margin: 7px 4px 0px 0px !important;*/
 
    text-align: center;
 
    color:#888 !important;
 
    /*font-size: 10px;*/
 
    background-color: #DEDEDE !important;
 
    border-radius: 4px !important;
 
    -webkit-border-radius: 4px !important;
 
}
 

	
 
.notification-header {
 
    padding-top:6px;
 
}
 
.notification-header .desc {
 
    font-size: 16px;
 
    height: 24px;
 
    float: left
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -55,25 +55,24 @@ ${self.context_bar('changelog')}
 
                <tbody>
 
                %for cnt,cs in enumerate(c.pagination):
 
                    <tr id="chg_${cnt+1}" class="container ${'tablerow%s' % (cnt%2)}">
 
                        <td class="checkbox">
 
                            ${h.checkbox(cs.raw_id,class_="changeset_range")}
 
                        </td>
 
                        <td class="author">
 
                            <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),16)}"/>
 
                            <span title="${cs.author}" class="user">${h.shorter(h.person(cs.author),22)}</span>
 
                        </td>
 
                        <td class="hash">
 
                            <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">
 
                                <span class="changeset_id">${cs.revision} :</span>
 
                                <span class="changeset_hash">${h.short_id(cs.raw_id)}</span>
 
                            </a>
 
                        </td>
 
                        <td class="date">
 
                            <div class="date">${h.age(cs.date,True)}</div>
 
                        </td>
 
                        <td class="mid">
 
                            <div class="log-container">
 
                                <div class="message">${h.urlify_commit(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
 
                                <div class="expand"><span class="expandtext">&darr; ${_('Show more')} &darr;</span></div>
 
                                <div class="extra-container">
 
                                    %if c.comments.get(cs.raw_id,[]):
 
@@ -92,123 +91,27 @@ ${self.context_bar('changelog')}
 

	
 
                                    %endfor
 
                                    %for tag in cs.tags:
 
                                        <div 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))}
 
                                        </div>
 
                                    %endfor
 
                                    %if (not c.branch_name) and cs.branch:
 
                                        <div class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
 
                                            ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
 
                                        </div>
 
                                    %endif
 
                                   
 
                                    <%doc>
 
                                    %if (h.is_hg(c.rhodecode_repo) and cs.bookmarks) or cs.tags:
 
                                        <div class="tagcontainer">
 
                                            %if h.is_hg(c.rhodecode_repo):
 
                                                <ul class="logtags">
 
                                                    ##%if len(cs.parents)>1:
 
                                                    ##    <span class="merge">${_('merge')}</span>
 
                                                    ##%endif
 
                                                    
 
                                                   
 
                                                    %for book in cs.bookmarks:
 
                                                        <li 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))}
 
                                                        </li>
 
                                                    %endfor
 
                                                   
 
                                                </ul>
 
                                            %endif
 
                                            <ul class="logtags tags">
 
                                                %for tag in cs.tags:
 
                                                    <li 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))}
 
                                                    </li>
 
                                                %endfor
 
                                            </ul>
 
                                        </div>
 
                                    %endif
 
                                    </%doc>
 
                                </div>
 
                            </div>
 
                        </td>
 
                       <%doc>
 
                        <td class="right">
 
                            <div class="changes">
 
                                <div id="changed_total_${cs.raw_id}" style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">
 
                                    ${len(cs.affected_files)}
 
                                </div>
 
                                
 
                                <div class="changeset-status-container">
 
                                    %if c.statuses.get(cs.raw_id):
 
                                        <div title="${_('Changeset status')}" class="changeset-status-lbl">${c.statuses.get(cs.raw_id)[1]}</div>
 
                                        <div class="changeset-status-ico">
 
                                        %if c.statuses.get(cs.raw_id)[2]:
 
                                            <a class="tooltip" title="${_('Click to open associated pull request #%s' % c.statuses.get(cs.raw_id)[2])}" href="${h.url('pullrequest_show',repo_name=c.statuses.get(cs.raw_id)[3],pull_request_id=c.statuses.get(cs.raw_id)[2])}"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" /></a>
 
                                        %else:
 
                                            <img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses.get(cs.raw_id)[0])}" />
 
                                        %endif
 
                                      </div>
 
                                    %endif
 
                                </div>
 
                            </div>
 
                            %if cs.parents:
 
                                %for p_cs in reversed(cs.parents):
 
                                    <div class="parent">${_('Parent')}
 
                                        <span class="changeset_id">${p_cs.revision}:<span class="changeset_hash">${h.link_to(h.short_id(p_cs.raw_id),
 
                                    h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}</span></span>
 
                                    </div>
 
                                %endfor
 
                            %else:
 
                                <div class="parent">${_('No parents')}</div>
 
                            %endif
 
                            %if len(c.comments.get(cs.raw_id,[])) > 0:
 
                                <div class="comments-container">
 
                                    <div class="comments-cnt" title="${('comments')}">
 
                                        <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
 
                                            ${len(c.comments[cs.raw_id])}
 
                                        </a>
 
                                    </div>
 
                                </div>
 
                            %endif
 
                            %if (h.is_hg(c.rhodecode_repo) and cs.bookmarks) or cs.tags:
 
                                <div class="tagcontainer">
 
                                    %if h.is_hg(c.rhodecode_repo):
 
                                        <ul class="logtags">
 
                                            ##%if len(cs.parents)>1:
 
                                            ##    <span class="merge">${_('merge')}</span>
 
                                            ##%endif
 
                                            
 
                                           
 
                                            %for book in cs.bookmarks:
 
                                                <li 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))}
 
                                                </li>
 
                                            %endfor
 
                                           
 
                                        </ul>
 
                                    %endif
 
                                    <ul class="logtags tags">
 
                                        %for tag in cs.tags:
 
                                            <li 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))}
 
                                            </li>
 
                                        %endfor
 
                                    </ul>
 
                                </div>
 
                            %endif
 
                        </td>
 
                        </%doc>
 
                    </tr>
 
                %endfor
 
                </tbody>
 
                </table>
 

	
 

	
 
                <div class="pagination-wh pagination-left">
 
                    ${c.pagination.pager('$link_previous ~2~ $link_next')}
 
                </div>
 
            </div>
 
        </div>
 

	
 
@@ -293,32 +196,24 @@ ${self.context_bar('changelog')}
 
                    var elem = e.currentTarget.parentNode.parentNode;
 
                    YUD.setStyle(e.currentTarget,'display','none');
 
                    YUD.setStyle(elem,'height','auto');
 

	
 
                    //redraw the graph, line_count and jsdata are global vars
 
                    set_canvas(100);
 

	
 
                    var r = new BranchRenderer();
 
                    r.render(jsdata,100,line_count);
 

	
 
                });
 

	
 
                // Fetch changeset details
 
                YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){
 
                    var id = e.currentTarget.id;
 
                    var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}";
 
                    var url = url.replace('__CS__',id.replace('changed_total_',''));
 
                    ypjax(url,id,function(){tooltip_activate()});
 
                });
 

	
 
                // change branch filter
 
                YUE.on(YUD.get('branch_filter'),'change',function(e){
 
                    var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value;
 
                    var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}";
 
                    var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}";
 
                    var url = url.replace('__BRANCH__',selected_branch);
 
                    if(selected_branch != ''){
 
                        window.location = url;
 
                    }else{
 
                        window.location = url_main;
 
                    }
 

	
0 comments (0 inline, 0 general)