Skip to content

Commit

Permalink
[4.2] Template Details and Files (tabs) (#37855)
Browse files Browse the repository at this point in the history
* template tabs

* cs

* row mt-2

* addtab-endtab

* cs
  • Loading branch information
Kostelano authored Jun 6, 2022
1 parent 4046858 commit 4c59ca9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions administrator/components/com_templates/tmpl/template/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,20 +360,20 @@
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>

<?php if ($this->pluginState) : ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'files', Text::_('COM_TEMPLATES_TAB_UPDATED_FILES')); ?>
<?php echo $this->loadTemplate('updated_files'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php endif; ?>

<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'description', Text::_('COM_TEMPLATES_TAB_DESCRIPTION')); ?>
<div class="row mt-3">
<div class="row mt-2">
<div class="col-12">
<?php echo $this->loadTemplate('description'); ?>
</div>
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>

<?php if ($this->pluginState) : ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'files', Text::_('COM_TEMPLATES_TAB_UPDATED_FILES')); ?>
<?php echo $this->loadTemplate('updated_files'); ?>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
<?php endif; ?>

<?php echo HTMLHelper::_('uitab.endTabSet'); ?>

<?php // Collapse Modal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
?>

<form action="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="updateForm" id="updateForm">
<div class="row mt-3">
<div class="row mt-2">
<div class="col-md-12">
<?php if (count($this->updatedList) !== 0) : ?>
<table class="table">
Expand Down

0 comments on commit 4c59ca9

Please sign in to comment.