Skip to content

Commit

Permalink
Hide subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Apr 3, 2019
1 parent 05e99b6 commit 5579b1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package_web_vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ git checkout $WEB_REF
npm run sub:update

## How to create patches
# git --no-pager diff --minimal > changes.patch
# git --no-pager diff --no-color --minimal > changes.patch
## How to apply patches
# git apply changes.patch

Expand Down
5 changes: 4 additions & 1 deletion patches/v2.8.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ diff --git a/src/scss/styles.scss b/src/scss/styles.scss
index 3df655fd..7e57cffe 100644
--- a/src/scss/styles.scss
+++ b/src/scss/styles.scss
@@ -1,5 +1,34 @@
@@ -1,5 +1,37 @@
@import "../css/webfonts.css";

+/**** START Bitwarden_RS CHANGES ****/
Expand All @@ -56,6 +56,9 @@ index 3df655fd..7e57cffe 100644
+/* Hide any link pointing to billing */
+a[href$="/settings/billing"] { @extend %bwrs-hide; }
+
+/* Hide any link pointing to subscriptions */
+a[href$="/settings/subscription"] { @extend %bwrs-hide; }
+
+/* Hide Two-Factor menu in Organization settings */
+app-org-settings a[href$="/settings/two-factor"] { @extend %bwrs-hide; }
+
Expand Down

0 comments on commit 5579b1b

Please sign in to comment.