Repository navigation
Page headings on rest of the pages - #1920
sadiqkhoja merged 2 commits into
Conversation
|
3988ac9 to
31bc360
Compare
31bc360 to
15fcb05
Compare
dd868e3 to
e32bf46
Compare
| <template v-if="helpText">{{ helpText }}</template> | ||
| <slot v-else name="help" :hide="hideHelp"></slot> | ||
| </div> |
There was a problem hiding this comment.
we can simplify this by just using slot
| const { formVersions } = useRequestData(); | ||
| return { formVersions }; | ||
| const { form, formVersions } = useRequestData(); | ||
| return { form, formVersions }; | ||
| }, |
| --> | ||
| <template> | ||
| <div id="form-edit"> | ||
| <page-heading v-if="form.dataExists" :title="$t('formHead.tab.editForm')"/> |
There was a problem hiding this comment.
remove v-if="form.dataExists"
| "en": { | ||
| "action": { | ||
| // This is the text of a button that is used to create a new Form. | ||
| "create": "New" |
There was a problem hiding this comment.
use @transifexkey
| <i18n-t tag="p" keypath="heading[1].full"> | ||
| <template #clickHere> | ||
| <doc-link to="central-submissions/#public-access-links">{{ $t('moreInfo.clickHere.clickHere') }}</doc-link> | ||
| <a href="#" @click.prevent="hide(); submissionOptions.show()">{{ $t('heading[1].clickHere') }}</a> |
There was a problem hiding this comment.
let's create a method and pass hide function to it.
| it('toggles the modal', () => | ||
| load('/projects/1/forms/f/public-links').testModalToggles({ | ||
| modal: PublicLinkCreate, | ||
| show: '.heading-with-button .btn-primary', |
There was a problem hiding this comment.
remove from app.scss if .heading-with-button is not used by any component.
15fcb05 to
f646a60
Compare
dependent on #1905