Skip to content

Commit e92f202

Browse files
committed
Revert "[HBX] Restore Tools in main menu"
This reverts commit 036cf3e.
1 parent f524d1b commit e92f202

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

_partials/menu/desktop-top.html.haml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
%a.item{:href => "/ogm/", :class=>"#{'active' if current_path.start_with?('/ogm')}"} OGM
1010
%a.item{:href => "/reactive/", :class=>"#{'active' if current_path.start_with?('/reactive')}"} Reactive
1111
%a.item{:href => "/repositories/", :class=>"#{'active' if current_path.start_with?('/repositories')}"} Repositories
12-
%a.item{:href => "/tools/", :class=>"#{'active' if current_path.start_with?('/tools')}"} Tools
12+
- if current_path.start_with?('/tools')
13+
%a.item{:href => "/tools/", :class=>"#{'active' if current_path.start_with?('/tools')}"} Tools
1314
%a.item{:href => "/others/", :class=>"#{'active' if current_path.start_with?('/others')}"} Others
1415
.right.menu
1516
%a.item(href="#{site.in_relation_to.base_url}") Blog

_partials/menu/mobile.html.haml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'OGM', 'project_key' => 'ogm', 'project_icon' => 'sitemap'})
1111
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Reactive', 'project_key' => 'reactive', 'project_icon' => 'flask'})
1212
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Repositories', 'project_key' => 'repositories', 'project_icon' => 'university'})
13-
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Tools', 'project_key' => 'tools', 'project_icon' => 'wrench'})
13+
- if current_path.start_with?('/tools')
14+
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Tools', 'project_key' => 'tools', 'project_icon' => 'wrench'})
1415
%a.item(href="/others/")
1516
Others
1617
= partial( 'menu/mobile-section-community.html.haml', {'real_page' => real_page})

index.html.haml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ title: Hibernate. Everything data.
5454
%i.right.arrow.icon
5555
More
5656
.project
57-
.ui.raised.segment.reactive
57+
.ui.raised.segment.tools
5858
%h3.ui.header
5959
%a{:href => relative("/reactive/")} Hibernate Reactive
6060
%p
@@ -65,7 +65,7 @@ title: Hibernate. Everything data.
6565
%i.right.arrow.icon
6666
More
6767
.project
68-
.ui.raised.segment.data
68+
.ui.raised.segment.tools
6969
%h3.ui.header
7070
%a{:href => relative("/repositories/")} Data Repositories
7171
%p
@@ -77,22 +77,11 @@ title: Hibernate. Everything data.
7777
More
7878
.project
7979
.ui.raised.segment.tools
80-
%h3.ui.header
81-
%a{:href => relative("/tools/")} Hibernate Tools
82-
%p
83-
%i.big.icon.wrench
84-
Command line tools and IDE plugins for your Hibernate usages.
85-
.ui.right.aligned.basic.segment
86-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/tools/")}
87-
%i.right.arrow.icon
88-
More
89-
.project
90-
.ui.raised.segment.others
9180
%h3.ui.header
9281
%a{:href => relative("/others/")} Others
9382
%p
9483
%i.big.icon.pause
95-
Less-active projects (Hibernate OGM, Hibernate Shards).
84+
Less-active projects (Hibernate Tools, Hibernate OGM, Hibernate Shards).
9685
.ui.right.aligned.basic.segment
9786
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/others/")}
9887
%i.right.arrow.icon

others/index.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Emmanuel Bernard
55
We always have new ideas to solve data related problems.
66
You will find some of these experiments here.
77

8+
== Hibernate Tools
9+
10+
++++
11+
<a class="ui button right labeled icon a primary" href="/tools/">
12+
<i class="right arrow icon"></i>
13+
More about Hibernate Tools
14+
</a>
15+
++++
16+
817
== Hibernate OGM
918

1019
[role="ui message warning"]

0 commit comments

Comments
 (0)