Skip to content

Commit

Permalink
Merge pull request #316 from SplitCode/feature/add-link-to-Workspaces…
Browse files Browse the repository at this point in the history
…-in-header

[#307] Add link to workspaces button in header
  • Loading branch information
fey authored Nov 27, 2024
2 parents f77c152 + aabbef3 commit c90580d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ link.signup=Sign Up
navbar.logout=Logout
navbar.login=Login
navbar.signup=Sign Up
navbar.workspaces=Workspaces
navbar.create-workspace=Create Workspace
navbar.account-info=Account Info

Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/messages_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ alert.bad-credential=Неверные логин и/или пароль
navbar.login=Войти
navbar.logout=Выход
navbar.signup=Зарегистрироваться
navbar.workspaces=Пространства
navbar.account-info=Информация об аккаунте
navbar.create-workspace=Создать Пространство
navbar.create-workspace=Создать пространство

text.hero-header=Все что вам нужно в
text.hero-highlight=одном месте
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/templates/fragments/panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
</button>
<div class="collapse navbar-collapse" id="mainNavbar">
<ul class="navbar-nav me-auto mb-2 mb-md-0" sec:authorize="isAuthenticated()">
<li class="nav-item">
<a class="nav-link" th:href="@{/workspaces}" th:text="#{navbar.workspaces}"></a>
</li>
<li class="nav-item">
<a class="nav-link" th:href="@{/workspace}" th:text="#{navbar.create-workspace}"></a>
</li>
Expand Down

0 comments on commit c90580d

Please sign in to comment.