Skip to content

Commit

Permalink
Fixed shibboleth configuration edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Feb 9, 2023
1 parent 6ed1ab3 commit 3a5bfaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ui/src/app/admin/container/ConfigurationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ export function ConfigurationList({ configurations, onDelete, loading }) {
<div className="d-flex justify-content-end w-100">
<Link to="../new" className="btn btn-sm btn-success">
<FontAwesomeIcon icon={faPlusCircle} /> &nbsp;
<Translate value="action.create-new-configuration">Create new configuration</Translate>
<Translate value="action.create-new-configuration">Create Shibboleth configuration set</Translate>
</Link>
</div>
<div className="table-responsive mt-3">
<table className="table table-striped w-100 table-hover">
<thead>
<tr>
<th>
<Translate value="label.configuration-name">Configuration Name (label)</Translate>
<Translate value="label.configuration-name">Name</Translate>
</th>
<th className="text-center">
<Translate value="label.download-config">Download</Translate>
<Translate value="label.download-config">Downloads</Translate>
</th>
<th className="text-end">
<Translate value="label.actions">Actions</Translate>
Expand Down Expand Up @@ -117,7 +117,7 @@ export function ConfigurationList({ configurations, onDelete, loading }) {
</td>
<td className="text-end">
<ButtonGroup aria-label="Actions" className="ms-4" >
<Link className="btn btn-primary" to={`../configurations/${c.resourceId}/edit`}>
<Link className="btn btn-primary" to={`../${c.resourceId}/edit`}>
<FontAwesomeIcon icon={faEdit} size="lg" />
&nbsp; Edit
</Link>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/core/Error.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Error () {
<Header />
<main className="container my-5">
<Alert variant='danger'>
<h4 class="alert-heading">Oops!</h4>
<h4 className="alert-heading">Oops!</h4>
<p>There was a problem processing this request.</p>
<hr />
<Link to="/dashboard" className="btn btn-dark">Go to dashboard</Link>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/core/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function Header () {
<Dropdown.Menu alignRight={true}>
<Dropdown.Header>Groups</Dropdown.Header>
<Dropdown.ItemText id="advanced-nav-dropdown-groups">{name}</Dropdown.ItemText>
<div class="dropdown-divider"></div>
<div className="dropdown-divider"></div>
<Dropdown.Item href={`/${BASE_PATH}logout`} target="_self" className="text-primary" aria-label={translator('action.logout')}
id="user-nav-dropdown-logout">
<FontAwesomeIcon icon={faSignOutAlt} className="me-2" fixedWidth />
Expand Down

0 comments on commit 3a5bfaf

Please sign in to comment.