Johannes Meyer
b06103bfc5
NavigationItemRenderer: Don't fail to render an icon if there's none
...
fixes #3859
2019-07-12 07:42:33 +02:00
Johannes Meyer
f0b5d8fd8e
BadgeNavigationItemRenderer: Round counts to the neareset base
...
refs #3568
2019-07-03 11:29:37 +02:00
Jennifer Mourek
b3b80fdc31
Make active first-level nav items better distinguishable
2019-03-20 11:07:39 +01:00
Jennifer Mourek
61b0d8aa90
Add icon with first letter of the li if there is no icon set else default to icon-circle
2019-03-20 11:07:39 +01:00
Eric Lippmann
21dbe4ec47
Only render icons of root navigation items
...
The upcoming navigation dashboard creates its links from the menu items in configuration.php.
Now, we encourage users to specify icons for second-level menu items but do not want render them in our menu.
2017-11-21 22:55:45 +01:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Eric Lippmann
b3bc1b6f81
Let the SummaryNavigationItemRenderer show the worst state
...
fixes #11185
2016-12-08 10:40:22 +01:00
Johannes Meyer
c7443924bd
NavigationItemRenderer: Ignore target for '#' urls
...
fixes #11197
2016-02-22 11:13:23 +01:00
Alexander A. Klimov
9ef78e6856
Fix double escape of `&' in navigation items
...
fixes #11190
2016-02-19 15:38:34 +01:00
Alexander A. Klimov
a83ab2c7cb
Escape URLs of navigation items while rendering them
...
fixes #11091
2016-02-18 15:01:21 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
7fd575080e
PHP7: Rename String to StringHelper
...
refs #10251
2016-01-27 16:46:55 +01:00
Alexander A. Klimov
21f7af4b64
Revert "Merge branch 'bugfix/logout-requires-restart-of-browser-10330'"
...
This reverts commit 94f4c670c1
, reversing
changes made to 7d5c15469e
.
refs #10330
2015-12-17 18:50:51 +01:00
Alexander A. Klimov
f6cd4794ee
NavigationItemRenderer::renderTargetAttribute(): don't use the same name for two different variables
...
refs #10330
2015-12-17 17:45:03 +01:00
Alexander A. Klimov
a9b818d52c
NavigationItemRenderer: split actualLinkTarget() into getIcingaLinkTarget() and getHtmlLinkTarget()
...
refs #10330
2015-12-17 17:38:21 +01:00
Alexander A. Klimov
5edd8df1b6
NavigationItemRenderer: provide more human-readable aliases for native HTML link targets
...
refs #10330
2015-12-17 16:52:14 +01:00
Alexander A. Klimov
2473c4bbef
NavigationItemRenderer: provide more human-readable aliases for internal link targets
...
refs #10330
2015-12-17 16:51:45 +01:00
Eric Lippmann
8a26e81c1c
Remove LogoutNavigationItemRenderer
...
refs #5543
2015-11-10 14:06:49 +01:00
Eric Lippmann
ba4256d983
Quick and dirty fix menu in FF
...
refs #5543
2015-11-04 17:49:43 +01:00
Eric Lippmann
4eb92438dd
Add nav-level-$level CSS classes to navigation
2015-10-27 13:52:18 +01:00
Eric Lippmann
6e5ba364fb
CSS: Introduce badge-nav-item
...
refs #5543
2015-10-26 12:44:11 +01:00
Eric Lippmann
8341415d28
nav: Give item renderer a chance to set the CSS class of the outer li element
...
refs #5543
2015-10-26 12:32:49 +01:00
Eric Lippmann
e07e16d7a1
lib: Remove UserNavigationItemRenderer
2015-10-22 14:26:53 +02:00
Eric Lippmann
56ed92a8e6
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 21:29:35 +02:00
Johannes Meyer
14ae04b631
RecursiveNavigationRenderer: Allow to enforce the standard item renderer
2015-10-01 17:43:48 +02:00
Thomas Gelf
cb5f741f22
UserNavigationItemRenderer: disable avatar
...
Broken on ff, no such image, rendering issues - postponed
2015-10-01 16:39:20 +02:00
Eric Lippmann
968754ec2e
CSS: Add class no-icon to menu items w/o an icon
...
refs #5543
2015-10-01 02:51:46 +02:00
Eric Lippmann
231c63b703
Merge branch 'master' into feature/dope-layout-5543
2015-09-30 18:52:52 +02:00
Eric Lippmann
98f1e9028e
Fix user menu CSS classes
...
refs #5543
2015-09-28 16:40:16 +02:00
Eric Lippmann
ed6da19876
lib: Support setting CSS class for li on navigation items
...
refs #5543
2015-09-28 16:39:28 +02:00
Eric Lippmann
9dff864b80
Prepare markup for new user menu
...
refs #5543
2015-09-28 14:48:54 +02:00
Johannes Meyer
d627f419ef
Fix that an object's notes and action url label is escaped twice
...
fixes #10218
2015-09-28 09:05:17 +02:00
Eric Lippmann
2996cb77ab
Navigation: Close the navigation item after all children have been rendererd
...
refs #5543
2015-09-27 15:43:49 +02:00
Eric Lippmann
63e0549618
Navigation: Support empty labels for creating containers
...
refs #5543
2015-09-27 15:42:26 +02:00
Eric Lippmann
d59b09ca48
Fix badge markup in the BadgeNavigationItemRenderer
...
refs #5543
2015-09-27 14:16:51 +02:00
Eric Lippmann
4c798d4e04
Fix coding style in the SummaryNavigationItemRenderer
...
refs #5543
2015-09-27 14:16:10 +02:00
Eric Lippmann
d79a160547
Navigation: Disable ids on li for the moment
...
refs #5543
2015-09-27 13:11:49 +02:00
Johannes Meyer
3c7155f246
NavigationItemRenderer: Pass external urls through the iframe module
...
refs #5600
2015-09-21 14:13:10 +02:00
Johannes Meyer
3aaf726856
Update CSS style used for the navigation
...
refs #5600
2015-09-21 11:13:05 +02:00
Johannes Meyer
76cf01869e
NavigationItem: Add property $target
...
refs #5600
2015-09-21 10:18:46 +02:00
Johannes Meyer
b1ee12f721
NavigationItem: Allow to dynamically decide whether to render an item
...
refs #5600
2015-09-17 09:11:17 +02:00
Johannes Meyer
6b13f2a987
NavigationRenderer: Do not render an empty header
...
refs #5600
2015-09-07 13:25:25 +02:00
Johannes Meyer
ca72bd5455
NavigationRendererInterface: Use "div" as default outer element tag
...
"nav" is less often necessary.
refs #5600
2015-09-07 09:48:32 +02:00
Johannes Meyer
881880f18f
SummaryNavigationItemRenderer: Fix method getTitle()
...
refs #5600
2015-09-04 13:48:29 +02:00
Johannes Meyer
8e24ec978d
BadgeNavigationItemRenderer: Use view() instead of getView()
...
refs #5600
2015-09-04 13:47:57 +02:00
Johannes Meyer
044fe031da
NavigationItemRenderer: Add method init()
...
refs #5600
2015-09-04 13:47:38 +02:00
Johannes Meyer
baefc89f85
NavigationRenderer: Provide a id for outer item markup (<li>)
...
refs #5600
2015-09-04 09:41:39 +02:00
Johannes Meyer
2855778dc7
Revert "NavigationItemRenderer: Provide a id if none is set"
...
This reverts commit c60839d798
.
2015-09-04 09:38:03 +02:00
Johannes Meyer
4e948b46bf
NavigationRenderer: Add id "navigation" to the navigation's heading
...
refs #5600
2015-09-04 09:26:28 +02:00
Johannes Meyer
c60839d798
NavigationItemRenderer: Provide a id if none is set
...
refs #5600
2015-09-04 09:25:58 +02:00