Browse Source

Prep. Clean up UI

Prepping to display scrum info on issues.
Reverted topbar change
Nathaniel van Diepen 11 years ago
parent
commit
c3f09b1312
2 changed files with 3 additions and 3 deletions
  1. 2 2
      data/topbars/default.template
  2. 1 1
      php/issue.php

+ 2 - 2
data/topbars/default.template

@@ -7,8 +7,8 @@
 		🔙	Arrow with back under
 -->
 <div class="topbar-left">
-	<a class="topbar-home menuitem" href="#page-index" style="min-width: 20px;">
-		<span class="screen-small" style="background-image:url(img/headers/icons/menu.png);background-repeat:no-repeat;height:50px;background-position:center;margin-left:-10px;"></span>
+	<a class="topbar-home menuitem" href="#page-index">
+		<span class="screen-small" style="background-image:url(img/headers/icons/menu.png);background-repeat:no-repeat;height:50px;background-position:center;"></span>
 	</a>
 	<a href="#page-messages" class="topbar-notifications menuitem screen-small"></a>
 	{{#if key}}

+ 1 - 1
php/issue.php

@@ -3,7 +3,7 @@
 	require_once(PATH_PHP.'database.php');
 	require_once(PATH_PHP.'messages.php');
 	function issueObj($id){
-		if($res = query("SELECT i.id,i.title,i.description,u.name as user FROM `issues` i JOIN `users` u ON u.id = i.u_id  WHERE i.id='%d'",array($id))){
+		if($res = query("SELECT i.id,i.title,i.description,i.s_id,u.name as user FROM `issues` i JOIN `users` u ON u.id = i.u_id  WHERE i.id='%d'",array($id))){
 			if($res->num_rows == 1){
 				$issue = $res->fetch_assoc();
 				$issue['user'] = userObj($issue['user']);