Skip to content

Commit

Permalink
Merge pull request #135 from opendatakit/doc-links
Browse files Browse the repository at this point in the history
Add doc links to the form overview and user pages
  • Loading branch information
matthew-white authored Sep 5, 2018
2 parents 7b7cd25 + a8bce9b commit 55d10a1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
20 changes: 18 additions & 2 deletions lib/components/form/overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,25 @@ except according to the terms contained in the LICENSE file.
successfully. It is ready to accept submissions. You will have to
start over with a new form if you wish to make changes to the form
questions.
<doc-link to="central-forms/#uploading-a-form-to-odk-central">
Click here to find out more.
</doc-link>
</p>
</form-overview-step>
<!-- Using v-show rather than v-if so that the number of steps is
consistent, which makes testing easier. -->
<form-overview-step v-show="attachments.length !== 0" :stage="stepStage(1)">
<form-overview-step v-show="attachments.length !== 0"
:stage="stepStage(1)">
<template slot="title">Upload form media files</template>
<p>
Your form design references files that we need in order to present
your form. You can upload these for distribution under the
<router-link :to="formPath('media-files')">Media Files</router-link>
tab. If you change your mind or make a replace, you can always
replace the files. <!-- TODO. Click here to find out more. -->
replace the files.
<doc-link to="central-forms/#forms-with-attachments">
Click here to find out more.
</doc-link>
</p>
</form-overview-step>
<form-overview-step :stage="stepStage(2)">
Expand Down Expand Up @@ -63,6 +70,9 @@ except according to the terms contained in the LICENSE file.
</router-link>
on this server, but you can always add more.
</template>
<doc-link to="central-submissions/">
Click here to find out more.
</doc-link>
</p>
</form-overview-step>
<form-overview-step :stage="stepStage(3)">
Expand All @@ -80,6 +90,9 @@ except according to the terms contained in the LICENSE file.
</template>
You can do this with the Download and Analyze buttons on the
<router-link :to="formPath('submissions')">Submissions tab</router-link>.
<doc-link to="central-submissions/">
Click here to find out more.
</doc-link>
</p>
</form-overview-step>
<form-overview-step :stage="stepStage(4)" last>
Expand All @@ -92,6 +105,9 @@ except according to the terms contained in the LICENSE file.
</router-link>
to control whether, for example, App Users will be able to see or
create new submissions to this form.
<doc-link to="central-forms/#managing-form-lifecycle">
Click here to find out more.
</doc-link>
</p>
</form-overview-step>
</div>
Expand Down
1 change: 1 addition & 0 deletions lib/components/user/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ except according to the terms contained in the LICENSE file.
while App Users can use mobile clients (like
<doc-link to="collect-intro/">Collect</doc-link>)
to download, fill out, and submit forms.
<doc-link to="central-users/">Learn more</doc-link>
</template>
<template slot="tabs">
<li :class="tabClass('')" role="presentation">
Expand Down

0 comments on commit 55d10a1

Please sign in to comment.