New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy template modal missing tip #10071
Conversation
I have tested this item ✅ successfully on 735666f This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10071. |
1 similar comment
I have tested this item ✅ successfully on 735666f This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10071. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10071. |
?> | ||
<div id="template-manager-css" class="form-horizontal"> | ||
<div class="control-group"> | ||
<label for="new_name" class="control-label hasTooltip" title="<?php echo JHtml::tooltipText('COM_TEMPLATES_TEMPLATE_NEW_NAME_DESC'); ?>"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_NEW_NAME_LABEL')?></label> | ||
<div class="control-group span6"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the span 6 ?
@infograf768 The span6 gives trouble for the label, not vertically aligned with the input. |
I added the span6 because of the position of the tip.
then I get: |
BTW, the tip here is now displayed in the same position as in Batch modals, where it does so grace to the span6. |
@infograf768 ok i understand your intention ;-)
If you want same display as inside batch (which is loaded field from layout and not constructing it as in copy modal) so you should not use form-horizontal. There the code with exactly the batch modal rendering :
@infograf768 as your PR is already merged, no need to revert it, as i've planned to change name of modal id (which should be unique) from collapseModal to copyModal and so be logical with other modals of this view (renameModal, fileModal, folderModal...) so i could do the change in the same time! ;-) So, what's best ?
Note: my screenshots are on a big screen, so that's why very large modals... and i can do an adjustement in the same time of the PR with new file names ;-) |
@JoomliC |
@infograf768 👍 |
@infograf768 just created the PR #10100 with a few improvement not only for tooltip, but too for usuability of file and folder modals ;-) |
Edit a template (not a template style). Click on
Copy Template
toolbar button. No tip.Patch.
Result should be: