Skip to content

Commit

Permalink
add headers to owner modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Granigan committed May 25, 2020
1 parent aeec8e6 commit f000f8b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions client/components/OverviewPage/ProgramControlsLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,12 @@ const OwnerAccordionLinks = ({ programme }) => {
}

return (
<div style={{ margin: '2em 0em' }}>
<div style={{ margin: '2em 0em', padding: '1em' }}>
<div style={{ fontWeight: 'bold', marginLeft: '3em' }}>
<h2>Lukuoikeus</h2>
{translations.viewPrompt[languageCode]}
</div>
<div style={{ display: 'flex', alignItems: 'center', margin: '1em 3em 0 3em' }}>
<div style={{ display: 'flex', alignItems: 'center', margin: '1em 3em 0 3em', paddingBottom: '1em'}}>
<Input
data-cy={`${programme}-viewlink`}
style={{ width: '600px' }}
Expand All @@ -141,10 +142,11 @@ const OwnerAccordionLinks = ({ programme }) => {
value={viewToken ? `${urlPrefix}${viewToken.url}` : ''}
onChange={null}
ref={viewLinkRef}
/>
/>
{isSuperAdmin(user.uid) && <ResetConfirmation token={viewToken} type="READ" />}
</div>
<div style={{ fontWeight: 'bold', marginLeft: '3em', marginTop: '1em' }}>
<div style={{ fontWeight: 'bold', marginLeft: '3em', marginTop: '1em', padding: '0.2em 0'}}>
<h2>Kirjoitusoikeus</h2>
{translations.editPrompt[languageCode]}
</div>
<div style={{ display: 'flex', alignItems: 'center', margin: '1em 3em' }}>
Expand Down

0 comments on commit f000f8b

Please sign in to comment.