Skip to content

Commit

Permalink
Improve "configure" and "unfreeze" link formatting (CFM-491)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Mar 20, 2026
1 parent c971464 commit cd2e88f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/templates/element/form/infoDiv/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,14 @@
$linkHtml .= ' ' . $this->Html->link(
$link['label'],
$link['url'],
$link
['class' => 'btn btn-sm btn-primary inline-form-button']
);
} else {
// Make $status the link

$linkHtml = $this->Html->link(
$status,
$link['url'],
// Pass whatever other args are specified
$link
$link['url']
);
}
}
Expand Down
4 changes: 4 additions & 0 deletions app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,10 @@ ul.form-list li.fields-submit .field-info {
display: flex;
gap: 1em;
}
ul.form-list .btn.inline-form-button {
padding: 0.25rem 0.75rem;
margin-left: 1rem;
}
ul.field-children {
margin: 0.5em;
padding: 0;
Expand Down

0 comments on commit cd2e88f

Please sign in to comment.