switched taps to accordion of user home view

This commit is contained in:
hyung-hwan 2016-02-07 13:37:37 +00:00
parent 60b4757f6b
commit c76f14177a

View File

@ -17,7 +17,15 @@
<script type="text/javascript">
$(function () {
$('#user_home_mainarea_result').tabs();
$("#user_home_mainarea_open_issues").accordion ({
collapsible: true,
heightStyle: "content"
});
$("#user_home_mainarea_projects").accordion ({
collapsible: true,
heightStyle: "content"
});
});
</script>
@ -66,15 +74,8 @@ $num_activities = 0;
<div id="user_home_mainarea_result" class="result">
<div id="tabs">
<ul>
<li><a href="#user_home_mainarea_result_issues"> <?php print $this->lang->line('Open issues')?> (<?php print $num_issues?>) </a></li>
<li><a href="#user_home_mainarea_result_projects"> <?php print $this->lang->line('Projects')?> (<?php print $num_projects?>) </a></li>
</ul>
<div id="user_home_mainarea_result_issues">
<div id="user_home_mainarea_open_issues" class="collapsible-box">
<div class="collapsible-box-header"><?php print $this->lang->line('Open issues')?></div>
<ul>
<?php
foreach ($issues as $issue)
@ -98,7 +99,8 @@ $num_activities = 0;
</ul>
</div>
<div id="user_home_mainarea_result_projects">
<div id="user_home_mainarea_projects" class="collapsible-box">
<div class="collapsible-box-header"><?php print $this->lang->line('Projects')?></div>
<ul>
<?php
foreach ($projects as $project)
@ -111,7 +113,6 @@ $num_activities = 0;
?>
</ul>
</div>
</div>
</div> <!-- user_home_mainarea_result -->