forked from primer/view_components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[#51013]: Extend page header with parent link, context bar action…
…s and responsiveness - Relevant WP [OP#51013](https://community.openproject.org/wp/51013)
- Loading branch information
1 parent
0a7d560
commit 261ce7b
Showing
6 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@openproject/primer-view-components': minor | ||
--- | ||
|
||
Extend page header with parent link, context bar actions and responsiveness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
<%= render Primer::BaseComponent.new(**@system_arguments) do %> | ||
<%= breadcrumbs %> | ||
<div class="PageHeader-titleBar"> | ||
<% if parent_link || breadcrumbs || context_bar_actions %> | ||
<div class="PageHeader-contextArea"> | ||
<%= parent_link %> | ||
<%= breadcrumbs %> | ||
<%= context_bar_actions %> | ||
</div> | ||
<% end %> | ||
|
||
<div class="PageHeader-titleArea"> | ||
<%= back_button %> | ||
<%= title %> | ||
<%= actions %> | ||
</div> | ||
|
||
<%= description %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters