fixed the issue show view slightly

This commit is contained in:
hyung-hwan 2015-12-29 17:14:26 +00:00
parent 0811cde131
commit d41ae391a1

View File

@ -749,11 +749,14 @@ $this->load->view (
</div> <!-- issue_show_mainarea_description --> </div> <!-- issue_show_mainarea_description -->
<div id="issue_show_mainarea_files"> <div id="issue_show_mainarea_files">
<i class='fa fa-plug'></i> <?php print $this->lang->line('Attachments'); ?>
<?php if (isset($login['id']) && $login['id'] != ''): ?> <?php if (isset($login['id']) && $login['id'] != ''): ?>
<i class='fa fa-plug'></i> <?php print $this->lang->line('Attachments'); ?>
<a id="issue_show_mainarea_add_file_button" href='#'><?php print $this->lang->line('Add')?></a> <a id="issue_show_mainarea_add_file_button" href='#'><?php print $this->lang->line('Add')?></a>
<a id="issue_show_mainarea_edit_file_button" href='#'><?php print $this->lang->line('Edit')?></a> <a id="issue_show_mainarea_edit_file_button" href='#'><?php print $this->lang->line('Edit')?></a>
<?php elseif (!empty($issue->files)): ?>
<i class='fa fa-plug'></i> <?php print $this->lang->line('Attachments'); ?>
<?php endif; ?> <?php endif; ?>
<?php if (!empty($issue->files)): ?> <?php if (!empty($issue->files)): ?>