From 405f4ca5e437a1b21b5b7f14ea5965ccbe170f3b Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Wed, 24 Apr 2013 09:27:12 +0000 Subject: [PATCH] Added branch notification Added current branch to note underneath last-diff. For the purposes of licensing, this commit is licensed under copyleft-next, version 0.1.0 or later. Therefore, this commit is compatible with any version of the GNU General Public License as published by the Free Software Foundation. --- public/project.css | 12 ++++++++++++ views/project/project.jade | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/public/project.css b/public/project.css index 95ff2d4..3e743e7 100644 --- a/public/project.css +++ b/public/project.css @@ -97,6 +97,18 @@ p#revnum { padding:10px; margin-bottom:0px; } +p#branch { + border-right:1px solid #ccc; + border-left:1px solid #ccc; + border-bottom:1px solid #ccc; + margin:auto; + display:inline-block; + padding:10px; + margin-top:0px; + border-bottom-left-radius:5px; + border-bottom-right-radius:5px; + +} h2 { border-bottom: 1px solid #ccc; border-top:1px solid #ccc; diff --git a/views/project/project.jade b/views/project/project.jade index 04b06b0..24ccc48 100644 --- a/views/project/project.jade +++ b/views/project/project.jade @@ -30,7 +30,9 @@ html(lang='#{curr839}') #{revnum} pre#gitdiff #{diff} - h4 #{milestoneprog} + p#branch + #{branch} + h3 #{milestonehead} table#milestones.center tr th #{milestonename}