diff --git a/apps/workflowengine/src/components/Operation.vue b/apps/workflowengine/src/components/Operation.vue index 5f5fa2ef6d64c346e95593f25214816ffb6b7333..b05465c79605901f4bcf4ba0be0678c1e9fa36be 100644 --- a/apps/workflowengine/src/components/Operation.vue +++ b/apps/workflowengine/src/components/Operation.vue @@ -5,7 +5,7 @@ <h3>{{ operation.name }}</h3> <small>{{ operation.description }}</small> <button v-if="colored"> - {{ t('workflowengine', 'Create a new rule') }} + {{ t('workflowengine', 'Add new flow') }} </button> </div> <div class="actions__item_options"> diff --git a/apps/workflowengine/src/components/Workflow.vue b/apps/workflowengine/src/components/Workflow.vue index fa352ced9fa23b2f10b2d33063cbaabbcd19c443..e3a50ae198fd4178c3572fe4fdd0ac1213b1a195 100644 --- a/apps/workflowengine/src/components/Workflow.vue +++ b/apps/workflowengine/src/components/Workflow.vue @@ -1,10 +1,10 @@ <template> <div id="workflowengine"> <div class="section"> - <h2>{{ t('workflowengine', 'Available actions') }}</h2> + <h2>{{ t('workflowengine', 'Available flows') }}</h2> <p v-if="scope === 0" class="settings-hint"> - <a href="https://nextcloud.com/developer/">{{ t('workflowengine', 'For details on how to write your own actions, checkout the development documentation') }}</a> + <a href="https://nextcloud.com/developer/">{{ t('workflowengine', 'For details on how to write your own flow, check out the development documentation.') }}</a> </p> <transition-group name="slide" tag="div" class="actions"> @@ -16,7 +16,7 @@ <a :key="'add'" :href="appstoreUrl" class="actions__item colored more"> <div class="icon icon-add" /> <div class="actions__item__description"> - <h3>{{ t('workflowengine', 'More actions') }}</h3> + <h3>{{ t('workflowengine', 'More flows') }}</h3> <small>{{ t('workflowengine', 'Browse the app store') }}</small> </div> </a> @@ -30,9 +30,12 @@ </button> </div> - <h2 class="configured-flows"> + <h2 v-if="scope === 0" class="configured-flows"> {{ t('workflowengine', 'Configured flows') }} </h2> + <h2 v-else class="configured-flows"> + {{ t('workflowengine', 'Your flows') }} + </h2> </div> <transition-group v-if="rules.length > 0" name="slide"> @@ -98,7 +101,7 @@ export default { max-width: 100vw; h2.configured-flows { - margin-top: 30px; + margin-top: 50px; margin-bottom: 0; } }