-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename option on replace prompt
- Loading branch information
1 parent
eed9da1
commit 2636f87
Showing
9 changed files
with
118 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<div class="card floating"> | ||
<div class="card-title"> | ||
<h2>{{ $t('prompts.replace') }}</h2> | ||
</div> | ||
|
||
<div class="card-content"> | ||
<p>{{ $t('prompts.replaceMessage') }}</p> | ||
</div> | ||
|
||
<div class="card-action"> | ||
<button class="button button--flat button--grey" | ||
@click="$store.commit('closeHovers')" | ||
:aria-label="$t('buttons.cancel')" | ||
:title="$t('buttons.cancel')">{{ $t('buttons.cancel') }}</button> | ||
<button class="button button--flat button--blue" | ||
@click="(event) => showConfirm(event, 'rename')" | ||
:aria-label="$t('buttons.rename')" | ||
:title="$t('buttons.rename')">{{ $t('buttons.rename') }}</button> | ||
<button class="button button--flat button--red" | ||
@click="(event) => showConfirm(event, 'overwrite')" | ||
:aria-label="$t('buttons.replace')" | ||
:title="$t('buttons.replace')">{{ $t('buttons.replace') }}</button> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { mapState } from 'vuex' | ||
export default { | ||
name: 'replace-rename', | ||
computed: mapState(['showConfirm']) | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters