mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-02-22 20:46:04 +01:00
fix editor config and spaces inside of quotes
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
This commit is contained in:
parent
56ffba7c5a
commit
a71fc67b9c
@ -5,11 +5,16 @@ trim_trailing_whitespace = true
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,php,html,vue}]
|
||||
[*.{php,html}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
|
||||
[*.{js,ts,vue}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
|
||||
[*.bats]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
@ -9,9 +9,9 @@
|
||||
:value="feed"
|
||||
ng-model="Navigation.feed.url"
|
||||
ng-class="{'ng-invalid':
|
||||
!Navigation.addingFeed &&
|
||||
Navigation.feedUrlExists(Navigation.feed.url)
|
||||
}"
|
||||
!Navigation.addingFeed &&
|
||||
Navigation.feedUrlExists(Navigation.feed.url)
|
||||
}"
|
||||
:placeholder="t('news', 'Web address')"
|
||||
name="address"
|
||||
pattern="[^\s]+"
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
<p class="error"
|
||||
ng-show="!Navigation.addingFeed &&
|
||||
Navigation.feedUrlExists(Navigation.feed.url)">
|
||||
Navigation.feedUrlExists(Navigation.feed.url)">
|
||||
{{ t("news", "Feed exists already!") }}
|
||||
</p>
|
||||
|
||||
@ -40,13 +40,11 @@
|
||||
type="text"
|
||||
ng-model="Navigation.feed.newFolder"
|
||||
ng-class="{'ng-invalid':
|
||||
!Navigation.addingFeed &&
|
||||
!Navigation.addingFeed &&
|
||||
Navigation.showNewFolder &&
|
||||
Navigation.folderNameExists(
|
||||
Navigation.feed.newFolder
|
||||
)
|
||||
}"
|
||||
!Navigation.addingFeed &&
|
||||
!Navigation.addingFeed &&
|
||||
Navigation.showNewFolder &&
|
||||
Navigation.folderNameExists(Navigation.feed.newFolder)
|
||||
}"
|
||||
:placeholder="t('news', 'Folder name')"
|
||||
name="folderName"
|
||||
style="width: 90%"
|
||||
@ -54,7 +52,7 @@
|
||||
|
||||
<p class="error"
|
||||
ng-show="!Navigation.addingFeed &&
|
||||
Navigation.folderNameExists(Navigation.feed.newFolder)">
|
||||
Navigation.folderNameExists(Navigation.feed.newFolder)">
|
||||
{{ t("news", "Folder exists already!") }}
|
||||
</p>
|
||||
|
||||
@ -92,12 +90,11 @@
|
||||
|
||||
<Button :wide="true"
|
||||
type="primary"
|
||||
ng-disabled="
|
||||
Navigation.feedUrlExists(Navigation.feed.url) ||
|
||||
(
|
||||
Navigation.showNewFolder &&
|
||||
Navigation.folderNameExists(folder.name)
|
||||
)"
|
||||
ng-disabled="Navigation.feedUrlExists(Navigation.feed.url) ||
|
||||
(
|
||||
Navigation.showNewFolder &&
|
||||
Navigation.folderNameExists(folder.name)
|
||||
)"
|
||||
@click="addFeed()">
|
||||
{{ t("news", "Subscribe") }}
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user