changed the user home view from accordian to tabs
This commit is contained in:
parent
11ee99c799
commit
61a825cad1
@ -14,7 +14,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('#user_home_mainarea_result').accordion();
|
||||
$('#user_home_mainarea_result').tabs();
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -62,30 +62,14 @@ $num_activities = 0;
|
||||
|
||||
<div id="user_home_mainarea_result">
|
||||
|
||||
<h3>
|
||||
<a href='#user_home_mainarea_result_projects'>
|
||||
<?=$this->lang->line('Projects')?> (<?=$num_projects?>)
|
||||
</a>
|
||||
</h3>
|
||||
<div id="user_home_mainarea_result_projects">
|
||||
<ul>
|
||||
<?php
|
||||
foreach ($projects as $project)
|
||||
{
|
||||
$cap = "{$project->name} ({$project->id})";
|
||||
$anc = anchor ("project/home/{$project->id}", htmlspecialchars($cap));
|
||||
$sum = htmlspecialchars ($project->summary);
|
||||
print "<li>{$anc} - {$sum}</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3>
|
||||
<a href='#user_home_mainarea_result_issues'>
|
||||
<?=$this->lang->line('Open issues')?> (<?=$num_issues?>)
|
||||
</a>
|
||||
</h3>
|
||||
<div id="tabs">
|
||||
|
||||
<ul>
|
||||
<li><a href="#user_home_mainarea_result_issues"> <?=$this->lang->line('Open issues')?> (<?=$num_issues?>) </a></li>
|
||||
<li><a href="#user_home_mainarea_result_projects"> <?=$this->lang->line('Projects')?> (<?=$num_projects?>) </a></li>
|
||||
</ul>
|
||||
|
||||
<div id="user_home_mainarea_result_issues">
|
||||
<ul>
|
||||
<?php
|
||||
@ -110,6 +94,21 @@ foreach ($issues as $issue)
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="user_home_mainarea_result_projects">
|
||||
<ul>
|
||||
<?php
|
||||
foreach ($projects as $project)
|
||||
{
|
||||
$cap = "{$project->name} ({$project->id})";
|
||||
$anc = anchor ("project/home/{$project->id}", htmlspecialchars($cap));
|
||||
$sum = htmlspecialchars ($project->summary);
|
||||
print "<li>{$anc} - {$sum}</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- user_home_mainarea_result -->
|
||||
|
||||
</div> <!-- user_home_mainarea -->
|
||||
|
Loading…
Reference in New Issue
Block a user