simplify language

This commit is contained in:
Nolan Lawson 2018-04-03 18:01:22 -07:00
parent bd183c9b37
commit cbf46ccae6
4 changed files with 5 additions and 11 deletions

View File

@ -11,7 +11,7 @@
<p>To get started, log in to an instance:</p> <p>To get started, log in to an instance:</p>
<p style="text-align: right;"><a class="button primary" href="/settings/instances/add">Add an instance</a></p> <p style="text-align: right;"><a class="button primary" href="/settings/instances/add">Add instance</a></p>
</div> </div>
</FreeTextLayout> </FreeTextLayout>
</HiddenFromSSR> </HiddenFromSSR>

View File

@ -45,7 +45,7 @@
'settings/about': 'About Pinafore', 'settings/about': 'About Pinafore',
'settings/general': 'General', 'settings/general': 'General',
'settings/instances': 'Instances', 'settings/instances': 'Instances',
'settings/instances/add': 'Add an instance', 'settings/instances/add': 'Add instance'
} }
export default { export default {

View File

@ -1,11 +1,5 @@
<SettingsLayout page='settings/instances/add' label="Add an Instance"> <SettingsLayout page='settings/instances/add' label="Add instance">
<h1 id="add-an-instance-h1">Add an Instance</h1> <h1 id="add-an-instance-h1">Add instance</h1>
{{#if $isUserLoggedIn}}
<p>Connect to an instance to log in.</p>
{{else}}
<p>Log in to an instance to use Pinafore.</p>
{{/if}}
<form class="add-new-instance" on:submit='onSubmit(event)' aria-labelledby="add-an-instance-h1"> <form class="add-new-instance" on:submit='onSubmit(event)' aria-labelledby="add-an-instance-h1">

View File

@ -1,5 +1,5 @@
<:Head> <:Head>
<title>Pinafore Add an Instance</title> <title>Pinafore Add instance</title>
</:Head> </:Head>
<Layout page='settings'> <Layout page='settings'>
<LazyPage :pageComponent :params /> <LazyPage :pageComponent :params />