changeset 1701:b702d0d4b030 beta

fixed inline comment indicator. - templates cleanup
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 19 Nov 2011 21:37:54 +0200
parents bc16d1d0869a
children 8cb7f5c4d494
files rhodecode/public/css/diff.css rhodecode/templates/admin/repos/repo_edit_perms.html rhodecode/templates/admin/repos/repos.html rhodecode/templates/admin/users/user_edit_my_account.html rhodecode/templates/admin/users_groups/users_group_edit.html rhodecode/templates/changeset/changeset.html rhodecode/templates/journal/journal.html
diffstat 7 files changed, 16 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/diff.css	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/public/css/diff.css	Sat Nov 19 21:37:54 2011 +0200
@@ -135,7 +135,8 @@
 	padding:0;
 	margin:0;
 }
-.line:hover{
+
+.diffblock.margined.comm .line:hover{
     background-color:#FFFFCC !important;
     cursor: pointer !important;
     background-image:url("../images/icons/comment_add.png") !important;
--- a/rhodecode/templates/admin/repos/repo_edit_perms.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/admin/repos/repo_edit_perms.html	Sat Nov 19 21:37:54 2011 +0200
@@ -16,7 +16,7 @@
                     ${_('private repository')}
                     </span>
                 </td>
-                <td class="private_repo_msg"><img style="vertical-align:bottom" src="${h.url("/images/icons/user.png")}"/>${r2p.user.username}</td>
+                <td class="private_repo_msg"><img style="vertical-align:bottom" src="${h.url('/images/icons/user.png')}"/>${r2p.user.username}</td>
             </tr>
         %else:
         <tr id="id${id(r2p.user.username)}">
--- a/rhodecode/templates/admin/repos/repos.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/admin/repos/repos.html	Sat Nov 19 21:37:54 2011 +0200
@@ -58,7 +58,7 @@
 	            	<a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
 	            	<img class="icon" alt="${_('public')}"
 	            	title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}" 
-	            	src="${h.url("/images/icons/arrow_divide.png")}"/></a>
+	            	src="${h.url('/images/icons/arrow_divide.png')}"/></a>
 	            %endif                
                 </td>
 				<td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
--- a/rhodecode/templates/admin/users/user_edit_my_account.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html	Sat Nov 19 21:37:54 2011 +0200
@@ -138,16 +138,16 @@
 		        <tr>
 		            <td>
                      %if repo['dbrepo']['repo_type'] =='hg':
-                       <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
+                       <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/>
                      %elif repo['dbrepo']['repo_type'] =='git':
-                       <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
+                       <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/>
                      %else:
                        
                      %endif 		            
 		             %if repo['dbrepo']['private']:
-		                <img class="icon" alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/>
+		                <img class="icon" alt="${_('private')}" src="${h.url('/images/icons/lock.png')}"/>
 		             %else:
-		                <img class="icon" alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/>
+		                <img class="icon" alt="${_('public')}" src="${h.url('/images/icons/lock_open.png')}"/>
 		             %endif
 		                                             
 		            ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
--- a/rhodecode/templates/admin/users_groups/users_group_edit.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/admin/users_groups/users_group_edit.html	Sat Nov 19 21:37:54 2011 +0200
@@ -59,23 +59,23 @@
 	                                            ${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")}
 	                                           <div  id="remove_all_elements" style="cursor:pointer;text-align:center">
 	                                               ${_('Remove all elements')}
-	                                               <img alt="remove" style="vertical-align:text-bottom" src="${h.url("/images/icons/arrow_right.png")}"/>
+	                                               <img alt="remove" style="vertical-align:text-bottom" src="${h.url('/images/icons/arrow_right.png')}"/>
 	                                           </div>
 	                                        </div>
 	                                        <div style="float:left;width:20px;padding-top:50px">
 	                                            <img alt="add" id="add_element" 
 	                                                style="padding:2px;cursor:pointer" 
-	                                                src="${h.url("/images/icons/arrow_left.png")}"/>
+	                                                src="${h.url('/images/icons/arrow_left.png')}"/>
 	                                            <br />
 	                                            <img alt="remove" id="remove_element" 
 	                                                style="padding:2px;cursor:pointer" 
-	                                                src="${h.url("/images/icons/arrow_right.png")}"/>
+	                                                src="${h.url('/images/icons/arrow_right.png')}"/>
 	                                        </div>
 	                                        <div style="float:left">
 	                                             <div class="text" style="padding: 0px 0px 6px;">${_('Available members')}</div>
 	                                             ${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px")}
 	                                             <div id="add_all_elements" style="cursor:pointer;text-align:center">
-	                                                   <img alt="add" style="vertical-align:text-bottom" src="${h.url("/images/icons/arrow_left.png")}"/>
+	                                                   <img alt="add" style="vertical-align:text-bottom" src="${h.url('/images/icons/arrow_left.png')}"/>
 	                                                    ${_('Add all elements')}
 	                                             </div>	                                        
 	                                        </div>
--- a/rhodecode/templates/changeset/changeset.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/changeset/changeset.html	Sat Nov 19 21:37:54 2011 +0200
@@ -119,7 +119,7 @@
 	%for change,filenode,diff,cs1,cs2,stat in c.changes:
 		%if change !='removed':
 		<div style="clear:both;height:10px"></div>
-		<div class="diffblock  margined" id="${self.fid(filenode.changeset.raw_id,filenode.path)}">
+		<div class="diffblock  margined comm" id="${self.fid(filenode.changeset.raw_id,filenode.path)}">
 			<div class="code-header">
 				<div class="changeset_header">
 					<span class="changeset_file">
--- a/rhodecode/templates/journal/journal.html	Sat Nov 19 21:23:29 2011 +0200
+++ b/rhodecode/templates/journal/journal.html	Sat Nov 19 21:37:54 2011 +0200
@@ -38,7 +38,7 @@
 		    %for entry in c.following:
 		        <div class="currently_following">
 		            %if entry.follows_user_id:
-		              <img title="${_('following user')}" alt="${_('user')}" src="${h.url("/images/icons/user.png")}"/>
+		              <img title="${_('following user')}" alt="${_('user')}" src="${h.url('/images/icons/user.png')}"/>
 		              ${entry.follows_user.full_contact}
 		            %endif
 		            
@@ -50,9 +50,9 @@
                       </span>		            
 		              </div>
 		              %if entry.follows_repository.private:
-		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/>
+		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url('/images/icons/lock.png')}"/>
 		              %else:
-		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/>
+		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
 		              %endif
 		              
 		              ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',