IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Просмотр исходного кода

Added a What's New link in the navbar.

master
Stanislaw Adaszewski 4 лет назад
Родитель
Сommit
040f9063ae
2 измененных файлов: 4 добавлений и 1 удалений
  1. +2
    -1
      frontend/src/js/component/wb-navbar-common.js
  2. +2
    -0
      frontend/src/js/page/wb-app.js

+ 2
- 1
frontend/src/js/component/wb-navbar-common.js Просмотреть файл

@@ -11,7 +11,8 @@ class WBNavbarCommon extends Component {
{ 'name': 'All Projects', 'id': 'all-projects' },
{ 'name': 'All Users', 'id': 'all-users' },
{ 'name': 'Shared with Me', 'id': 'shared-with-me' },
{ 'name': 'Current User', 'dropdown': [ { 'id': 'sign-out', 'name': 'Sign Out' } ]}
{ 'name': 'Current User', 'dropdown': [ { 'id': 'sign-out', 'name': 'Sign Out' } ]},
{ name: (<span>What's New <sup><span class="badge badge-info">Info</span></sup></span>), id: 'whatsnew' }
].concat(items) }
rhs={ textSearchNavigate ? (
<WBInlineSearch textSearch={ textSearch } navigate={ textSearchNavigate } />


+ 2
- 0
frontend/src/js/page/wb-app.js Просмотреть файл

@@ -38,6 +38,8 @@ class WBApp extends Component {
return ('/users');
} else if (item['id'] === 'shared-with-me') {
return ('/shared-with-me');
} else if (item['id'] === 'whatsnew') {
return ('https://sites.google.com/roche.com/workbenchadvanced');
}
}


Загрузка…
Отмена
Сохранить