Skip to content

Commit

Permalink
Small UI bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pHAlkaline committed Jan 19, 2016
1 parent 1f70eb0 commit 6b3f847
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion app/Plugin/Phkapa/View/Actions/admin_add.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>

</div>
<div class="actions form">
<div class="ticket-actions form">
<?php echo $this->Form->create('Action',array('novalidate' => true)); ?>
<fieldset class="ui-corner-all ui-widget-content" >
<legend><?php echo __d('phkapa','Record').' '.__d('phkapa','Action'); ?></legend>
Expand Down
2 changes: 1 addition & 1 deletion app/Plugin/Phkapa/View/Actions/admin_edit.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>

</div>
<div class="actions form">
<div class="ticket-actions form">
<?php echo $this->Form->create('Action',array('novalidate' => true)); ?>
<fieldset class="ui-corner-all ui-widget-content" >
<legend><?php echo __d('phkapa','Record').' '. __d('phkapa','Action'); ?></legend>
Expand Down
2 changes: 1 addition & 1 deletion app/Plugin/Phkapa/View/Actions/admin_view_revision.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

</div>
<div class="box ui-corner-all ui-widget-content" >
<div class="actions view">
<div class="ticket-actions view">

<div class="block">
<dl><?php
Expand Down
28 changes: 14 additions & 14 deletions app/Plugin/Phkapa/View/Plan/edit_action.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@

</div>
<div id="tabs">
<?php
$countComment=null;
if (isset($ticket['Comment'])){
$countComment= ' (' . count($ticket['Comment']) . ')';
<?php
$countComment = null;
if (isset($ticket['Comment'])) {
$countComment = ' (' . count($ticket['Comment']) . ')';
}
$countAttachment=null;
if (isset($ticket['Attachment'])){
$countAttachment= ' (' . count($ticket['Attachment']) . ')';
$countAttachment = null;
if (isset($ticket['Attachment'])) {
$countAttachment = ' (' . count($ticket['Attachment']) . ')';
}
?>
<ul>
<li><a href="#tabs-details"><?php echo __dn('phkapa', 'Detail', 'Details', 2); ?></a></li>
<li><a href="#tabs-attachment"><?php echo __dn('phkapa', 'Attachment', 'Attachments', 2). $countAttachment; ?></a></li>
<li><a href="#tabs-feedback"><?php echo __dn('phkapa', 'Comment', 'Comments', 2). $countComment; ?></a></li>
<li><a href="#tabs-attachment"><?php echo __dn('phkapa', 'Attachment', 'Attachments', 2) . $countAttachment; ?></a></li>
<li><a href="#tabs-feedback"><?php echo __dn('phkapa', 'Comment', 'Comments', 2) . $countComment; ?></a></li>

</ul>
<div id="tabs-details">
<div class="tickets view">
Expand Down Expand Up @@ -276,21 +276,21 @@
echo $this->element('pluginNotFound');
?>

<?php } ?>

</div>

</div>
<?php } ?>


</div>
<div id="tabs-attachment">
<div id="tabs-attachment">
<?php
if (CakePlugin::loaded('Attachment')) {
?>


<div class="related">
<?php echo $this->Attachments->display_for($ticket, array('showForm'=>false,'model' => 'Phkapa.Ticket')); ?>
<?php echo $this->Attachments->display_for($ticket, array('showForm' => false, 'model' => 'Phkapa.Ticket')); ?>
</div>


Expand Down
2 changes: 1 addition & 1 deletion app/Plugin/Phkapa/View/Query/view_action.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

</div>
<div class="box ui-corner-all ui-widget-content" >
<div class="actions view">
<div class="ticket-actions view">

<div class="block">
<dl><?php $i = 0;
Expand Down

0 comments on commit 6b3f847

Please sign in to comment.