File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 7
7
if (!$ set ):
8
8
?>
9
9
<?php else : ?>
10
- <details class="accordion-section" <?= empty ($ metadata ) ? 'accordion-collapsed ' : '' ?> >
10
+ <details class="accordion-section" <?= empty ($ metadata ) ? 'accordion-collapsed ' : 'open ' ?> >
11
11
<summary class="accordion-title">
12
- <?= t ('MetaMagik ' ) ?>
12
+ <?= t ('Custom Fields ' ) ?>
13
13
</summary>
14
14
<div class="accordion-content">
15
15
<article class="markdown">
Original file line number Diff line number Diff line change 15
15
<div class="column">
16
16
<table
17
17
id="<?= $ i ?> "
18
- class="metadata-table table-striped table-scrolling"
18
+ class="table-striped table-scrolling"
19
19
data-save-position-url="<?= $ this ->url ->href ('MetadataTypesController ' , 'movePosition ' , array ('plugin ' => 'metaMagik ' )) ?> "
20
20
>
21
21
<thead>
@@ -34,11 +34,7 @@ class="metadata-table table-striped table-scrolling"
34
34
<?php foreach ($ custom_fields as $ custom_field ): ?>
35
35
<?php if (!empty ($ this ->task ->taskMetadataModel ->get ($ task ['id ' ], $ custom_field ['human_name ' ], '' )) && $ custom_field ['column_number ' ] == $ i ): ?>
36
36
<tr data-metadata-id="<?= $ custom_field ['id ' ] ?> ">
37
- <td>
38
- <?php if ($ _SESSION ['user ' ]['role ' ] == 'app-admin ' ): ?>
39
- <i class="fa fa-arrows-alt draggable-row-handle ui-sortable-handle" title="Change metadata position"></i>
40
- <?php endif ?>
41
- <strong><?= $ custom_field ['beauty_name ' ] ?> </strong></td>
37
+ <td><strong><?= $ custom_field ['beauty_name ' ] ?> </strong></td>
42
38
<?php if ($ custom_field ['data_type ' ] == 'textarea ' ): ?>
43
39
<td><?= $ this ->text ->markdown ($ this ->task ->taskMetadataModel ->get ($ task ['id ' ], $ custom_field ['human_name ' ], '' )) ?> </td>
44
40
<?php elseif ($ custom_field ['data_type ' ] == 'number ' ): ?>
You can’t perform that action at this time.
0 commit comments