Skip to content

Commit

Permalink
Show path and uid on transfer button
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Kim <gary@garykim.dev>
  • Loading branch information
gary-kim committed Dec 16, 2019
1 parent de5ab4b commit 6655d4f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10,916 deletions.
2 changes: 1 addition & 1 deletion apps/files/js/dist/personal-settings.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/files/js/dist/personal-settings.js.map

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion apps/files/src/components/TransferOwnershipDialogue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<li>
<input type="submit"
class="primary"
:value="t('files', 'Transfer')"
:value="submitButtonText"
:disabled="!canSubmit">
<span class="error">{{ submitError }}</span>
</li>
Expand Down Expand Up @@ -115,6 +115,12 @@ export default {
icon: 'icon-user'
}
})
},
submitButtonText() {
if (!this.canSubmit) {
return t('files', 'Set options above')
}
return t('files', 'Transfer "{path}" to {userid}', { path: this.directory, userid: this.uid })
}
},
created() {
Expand Down
3,282 changes: 0 additions & 3,282 deletions apps/settings/js/vue-1.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-1.js.map

This file was deleted.

4,210 changes: 0 additions & 4,210 deletions apps/settings/js/vue-2.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-2.js.map

This file was deleted.

3,418 changes: 0 additions & 3,418 deletions apps/settings/js/vue-3.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/settings/js/vue-3.js.map

This file was deleted.

0 comments on commit 6655d4f

Please sign in to comment.