From b8df477f0bbba865eef7f2476cc43fcbcdd21f5b Mon Sep 17 00:00:00 2001
From: Adam Coldrick
Date: Thu, 1 Mar 2018 23:00:26 +0000
Subject: [PATCH] Reduce the number of items in the sidebar
This commit moves the "Profile" section underneath the logged-in user's
name in the top right, to have all user-related actions in the same
place. It also moves the license link onto the About page.
Change-Id: I20d0307e0fd8b1dc18295745031f229bb4a75aa5
---
src/app/pages/template/about.html.tpl | 15 ++++++++---
src/app/profile/module.js | 3 ---
src/app/profile/template/profile_submenu.html | 25 ------------------
src/app/storyboard/template/header_menu.html | 26 +++++++++++++++++++
src/app/storyboard/template/side_menu.html | 12 +--------
src/theme/base/bootstrap/_navbar.scss | 1 -
6 files changed, 39 insertions(+), 43 deletions(-)
delete mode 100644 src/app/profile/template/profile_submenu.html
diff --git a/src/app/pages/template/about.html.tpl b/src/app/pages/template/about.html.tpl
index 9d34ea82..ea6f2f08 100644
--- a/src/app/pages/template/about.html.tpl
+++ b/src/app/pages/template/about.html.tpl
@@ -68,12 +68,14 @@
Contributing
- StoryBoard is open source! If you would like to contribute to
+
+ StoryBoard is open source! If you would like to contribute to
the development of StoryBoard, you must follow the steps in the
- Developer's Guide
-
+ Developer's Guide
+
+
Note that all bugs with StoryBoard's API should be filed in
+
+
+ Project license
+
+
+
Attribution
diff --git a/src/app/profile/module.js b/src/app/profile/module.js
index 3a2a05ca..0f019396 100644
--- a/src/app/profile/module.js
+++ b/src/app/profile/module.js
@@ -41,9 +41,6 @@ angular.module('sb.profile',
currentUser: SessionResolver.requireCurrentUser
},
views: {
- 'submenu@': {
- templateUrl: 'app/profile/template/profile_submenu.html'
- },
'@': {
template: ''
}
diff --git a/src/app/profile/template/profile_submenu.html b/src/app/profile/template/profile_submenu.html
deleted file mode 100644
index e3b900dd..00000000
--- a/src/app/profile/template/profile_submenu.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/app/storyboard/template/header_menu.html b/src/app/storyboard/template/header_menu.html
index 6efc8784..f320e567 100644
--- a/src/app/storyboard/template/header_menu.html
+++ b/src/app/storyboard/template/header_menu.html
@@ -105,6 +105,19 @@