aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-31 17:47:36 +0100
committerChocobozzz <me@florianbigard.com>2018-01-31 17:51:04 +0100
commit36f9424ff192b0584a433bc196bced6fcf265808 (patch)
tree35d9fa5c53b228f5e7fc27bcc82854d035e9dde8 /client/src/app/menu
parent66b16cafb380012d3eca14e524d86f2450e04069 (diff)
downloadPeerTube-36f9424ff192b0584a433bc196bced6fcf265808.tar.gz
PeerTube-36f9424ff192b0584a433bc196bced6fcf265808.tar.zst
PeerTube-36f9424ff192b0584a433bc196bced6fcf265808.zip
Add about page
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/menu.component.html9
-rw-r--r--client/src/app/menu/menu.component.scss7
2 files changed, 14 insertions, 2 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 94f82e352..d174c76ba 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -45,12 +45,17 @@
45 </a> 45 </a>
46 </div> 46 </div>
47 47
48 <div *ngIf="userHasAdminAccess" class="panel-block"> 48 <div class="panel-block">
49 <div class="block-title">More</div> 49 <div class="block-title">More</div>
50 50
51 <a [routerLink]="getFirstAdminRouteAvailable()" routerLinkActive="active"> 51 <a *ngIf="userHasAdminAccess" [routerLink]="getFirstAdminRouteAvailable()" routerLinkActive="active">
52 <span class="icon icon-administration"></span> 52 <span class="icon icon-administration"></span>
53 Administration 53 Administration
54 </a> 54 </a>
55
56 <a routerLink="/about" routerLinkActive="active">
57 <span class="icon icon-about"></span>
58 About
59 </a>
55 </div> 60 </div>
56</menu> 61</menu>
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss
index 4714a9e87..1f3c889cf 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -132,6 +132,13 @@ menu {
132 132
133 background-image: url('../../assets/images/menu/administration.svg'); 133 background-image: url('../../assets/images/menu/administration.svg');
134 } 134 }
135
136 &.icon-about {
137 width: 23px;
138 height: 23px;
139
140 background-image: url('../../assets/images/menu/about.svg');
141 }
135 } 142 }
136 } 143 }
137 } 144 }