/usr/share/chef-server-webui/app/views/databags/_item_navigation.html.haml is in chef-server-webui 10.12.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | .secondary-navigation
%ul
%li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', url(:databags))
%li{ :class => (active == 'create_item' ? "active" : '')}= link_to('Create Item', url(:new_databag_databag_item, :databag_id => @databag_name))
- if active != 'create' && active != 'index'
%li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', url(:databag, :id => params[:id]))
%li= link_to('Delete', url(:databag, :id => params[:id]), :method => "delete", :confirm => "Really delete Databag #{params[:id]}? There is no undo.")
.clear
|