PeerTube/client/src/app/menu
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* Add alert and hide upload view when no upload is possible

* Add about instance link to alert

* Hide videos and imports links when no upload is possible

* Correct curly spacing lint

* Put logic canUpload to User model + add isHidden param to to-menu-dropdown

* Use canSeeVideoLinks from user model

* Rename and change logic canUpload to isUploadDisabled

* Use isDisplayed() method intead of isHidden value

* Refactor client and check videos count using quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-07-28 15:18:38 +02:00
..
avatar-notification.component.html add aria-hidden to non-descriptive icons (#2844) 2020-06-08 19:42:51 +02:00
avatar-notification.component.scss `fitWidth` for `video-miniature`, fluid grid (#2830) 2020-06-09 09:33:28 +02:00
avatar-notification.component.ts Reorganize client shared modules 2020-06-23 16:00:49 +02:00
index.ts Add notifications in the client 2019-01-09 11:15:15 +01:00
language-chooser.component.html Add lang attribute in languages list menu 2020-06-05 15:55:29 +02:00
language-chooser.component.scss Remove unused interface section for interface language 2020-04-11 16:05:50 +02:00
language-chooser.component.ts Reorganize client shared modules 2020-06-23 16:00:49 +02:00
menu.component.html Add alert and hide upload view when no upload is possible (#2966) 2020-07-28 15:18:38 +02:00
menu.component.scss switch from softies to feathericons 2020-07-01 17:03:48 +02:00
menu.component.ts Add alert and hide upload view when no upload is possible (#2966) 2020-07-28 15:18:38 +02:00