From c76f14177a07b58974f898a9722227b553df8a8c Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 7 Feb 2016 13:37:37 +0000 Subject: [PATCH] switched taps to accordion of user home view --- codepot/src/codepot/views/user_home.php | 85 +++++++++++++------------ 1 file changed, 43 insertions(+), 42 deletions(-) diff --git a/codepot/src/codepot/views/user_home.php b/codepot/src/codepot/views/user_home.php index 5f5c4eeb..da8a95f9 100644 --- a/codepot/src/codepot/views/user_home.php +++ b/codepot/src/codepot/views/user_home.php @@ -17,7 +17,15 @@ @@ -66,52 +74,45 @@ $num_activities = 0;
+
+
lang->line('Open issues')?>
+
    + projectid; + $xid = $this->converter->AsciiToHex ((string)$issue->id); -
    + $anc = anchor ("issue/show/{$issue->projectid}/{$xid}", '#' . htmlspecialchars($issue->id)); - + $status = htmlspecialchars( + array_key_exists($issue->status, $issue_status_array)? + $issue_status_array[$issue->status]: $issue->status); + $type = htmlspecialchars( + array_key_exists($issue->type, $issue_type_array)? + $issue_type_array[$issue->type]: $issue->type); -
    -
      - projectid; - $xid = $this->converter->AsciiToHex ((string)$issue->id); - - $anc = anchor ("issue/show/{$issue->projectid}/{$xid}", '#' . htmlspecialchars($issue->id)); - - $status = htmlspecialchars( - array_key_exists($issue->status, $issue_status_array)? - $issue_status_array[$issue->status]: $issue->status); - $type = htmlspecialchars( - array_key_exists($issue->type, $issue_type_array)? - $issue_type_array[$issue->type]: $issue->type); - - $sum = htmlspecialchars ($issue->summary); - print "
    • {$pro} {$anc} {$type} {$status} - {$sum}
    • "; - } - ?> -
    + $sum = htmlspecialchars ($issue->summary); + print "
  • {$pro} {$anc} {$type} {$status} - {$sum}
  • "; + } + ?> +
- -
-
    - name} ({$project->id})"; - $anc = anchor ("project/home/{$project->id}", htmlspecialchars($cap)); - $sum = htmlspecialchars ($project->summary); - print "
  • {$anc} - {$sum}
  • "; - } - ?> -
+ +
+
lang->line('Projects')?>
+
    + name} ({$project->id})"; + $anc = anchor ("project/home/{$project->id}", htmlspecialchars($cap)); + $sum = htmlspecialchars ($project->summary); + print "
  • {$anc} - {$sum}
  • "; + } + ?> +
-