Skip to content

Commit

Permalink
Fix Admin templates
Browse files Browse the repository at this point in the history
  • Loading branch information
FitiaHarena authored and sbreker committed Sep 19, 2023
1 parent 04cac0e commit 6785ce4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
</thead>
<tbody>
<?php foreach ($menuTree as $item) { ?>
<tr>
<td<?php if (QubitMenu::ROOT_ID == $item['parentId']) { ?> style="font-weight: bold"<?php } ?>>
<tr>
<style <?php echo __(sfConfig::get('csp_nonce', '')); ?>>
.parent-item-data { font-weight : bold }
</style>
<td<?php if (QubitMenu::ROOT_ID == $item['parentId']) { ?> class="parent-item-data"<?php } ?>>

<?php echo str_repeat('&nbsp;&nbsp;', ($item['depth'] - 1)); ?>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,23 @@

<table class="table table-bordered mb-0">
<thead>
<tr>
<th style="width: 40%">
<tr>
<style <?php echo __(sfConfig::get('csp_nonce', '')); ?>>
#desc-update-title-head, #desc-update-repo-head { width : 40% }
#desc-update-updated-head, #desc-update-created-head { width : 20% }
</style>
<th id="desc-update-title-head">
<?php echo __('Title'); ?>
</th>
<th style="width: 40%">
<th id="desc-update-repo-head">
<?php echo __('Repository'); ?>
</th>
<?php if ('CREATED_AT' != $form->getValue('dateOf')) { ?>
<th style="width: 20%">
<th id="desc-update-updated-head">
<?php echo __('Updated'); ?>
</th>
<?php } else { ?>
<th style="width: 20%">
<th id="desc-update-created-head">
<?php echo __('Created'); ?>
</th>
<?php } ?>
Expand Down

0 comments on commit 6785ce4

Please sign in to comment.