changeset 626:dfa7e1a95b60

added gpl license and submit a bug footer links
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 20 Oct 2010 02:31:28 +0200
parents d5372213db98
children 8d78d79b67a3
files rhodecode/config/routing.py rhodecode/public/css/style.css rhodecode/templates/base/base.html
diffstat 3 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Wed Oct 20 02:08:03 2010 +0200
+++ b/rhodecode/config/routing.py	Wed Oct 20 02:31:28 2010 +0200
@@ -36,7 +36,8 @@
 
     #MAIN PAGE
     map.connect('hg_home', '/', controller='hg', action='index')
-
+    map.connect('bugtracker', "http://bitbucket.org/marcinkuzminski/rhodecode/issues", _static=True)
+    map.connect('gpl_license', "http://www.gnu.org/licenses/gpl.html", _static=True)
     #ADMIN REPOSITORY REST ROUTES
     with map.submapper(path_prefix='/_admin', controller='admin/repos') as m:
         m.connect("repos", "/repos",
--- a/rhodecode/public/css/style.css	Wed Oct 20 02:08:03 2010 +0200
+++ b/rhodecode/public/css/style.css	Wed Oct 20 02:31:28 2010 +0200
@@ -1254,6 +1254,13 @@
 color:#FFF;
 font-weight:700;
 }
+#footer div#footer-inner .footer-link {
+float:left;
+padding-left:10px;
+}
+#footer div#footer-inner .footer-link a {
+color:#FFF; 
+}
 
 #login div.title {
 width:420px;
--- a/rhodecode/templates/base/base.html	Wed Oct 20 02:08:03 2010 +0200
+++ b/rhodecode/templates/base/base.html	Wed Oct 20 02:31:28 2010 +0200
@@ -62,7 +62,11 @@
 	<!-- footer -->
 	<div id="footer">
 	   <div id="footer-inner" class="title bottom-left-rounded-corner bottom-right-rounded-corner">
-	    <p>RhodeCode ${c.rhodecode_version} &copy; 2010 by Marcin Kuzminski</p>
+	       <div>
+	           <p class="footer-link">${h.link_to(_('Submit a bug'),h.url('bugtracker'))}</p>
+		       <p class="footer-link">${h.link_to(_('GPL license'),h.url('gpl_license'))}</p>
+		       <p>RhodeCode ${c.rhodecode_version} &copy; 2010 by Marcin Kuzminski</p>
+	       </div>
 	   </div>
         <script type="text/javascript">${h.tooltip.activate()}</script>
 	</div>