-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: cnmicha <[email protected]>
- Loading branch information
Showing
4 changed files
with
18 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18178,7 +18178,13 @@ var render = function() { | |
attrs: { icon: "icon-picture" }, | ||
on: { click: _vm.openPhotosApp } | ||
}, | ||
[_vm._v("\n\t\t\t\tShow in photos\n\t\t\t")] | ||
[ | ||
_vm._v( | ||
"\n\t\t\t\t" + | ||
_vm._s(_vm.t("photos", "Show in photos")) + | ||
"\n\t\t\t" | ||
) | ||
] | ||
) | ||
], | ||
1 | ||
|
@@ -27024,6 +27030,8 @@ __webpack_require__.r(__webpack_exports__); | |
__webpack_require__.r(__webpack_exports__); | ||
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.runtime.esm.js"); | ||
/* harmony import */ var _FilesButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FilesButton */ "./src/FilesButton.vue"); | ||
/* harmony import */ var _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/l10n */ "./node_modules/@nextcloud/l10n/dist/index.js"); | ||
/* harmony import */ var _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__); | ||
/** | ||
* @copyright Copyright (c) 2020 cnmicha <[email protected]> | ||
* | ||
|
@@ -27047,6 +27055,7 @@ __webpack_require__.r(__webpack_exports__); | |
*/ | ||
|
||
|
||
|
||
/** | ||
* Adds a button to the files app that opens the current directory in the photos app. | ||
*/ | ||
|
@@ -27056,7 +27065,8 @@ __webpack_require__.r(__webpack_exports__); | |
// Create Vue.js root in DOM | ||
var vueRoot = document.createElement('div'); | ||
vueRoot.id = 'open-in-photos-button-root'; | ||
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot); // Create Vue.js instance | ||
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot); | ||
vue__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.t = _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__["translate"]; // Create Vue.js instance | ||
// eslint-disable-next-line no-new | ||
|
||
new vue__WEBPACK_IMPORTED_MODULE_0__["default"]({ | ||
|
@@ -27073,4 +27083,4 @@ __webpack_require__.r(__webpack_exports__); | |
/***/ }) | ||
|
||
/******/ }); | ||
//# sourceMappingURL=photos-filesbutton.js.map?v=46352b128bd47392aba3 | ||
//# sourceMappingURL=photos-filesbutton.js.map?v=d7ba2670caab7c6e10a3 |
Large diffs are not rendered by default.
Oops, something went wrong.
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