-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GT-183] Apply code styles for the files #461 #483
Open
Sae126V
wants to merge
1
commit into
GOCDB:dev
Choose a base branch
from
Sae126V:GT-183-styles-Need-non-admin-Service-Types-views
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,171 +1,163 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<menus> | ||
<main_menu> | ||
<spacer> | ||
<show_on_instance>all</show_on_instance> | ||
<spacer>Browse</spacer> | ||
</spacer> | ||
|
||
<MySites> | ||
<show_on_instance>all</show_on_instance> | ||
<name>My Resources</name> | ||
<link>index.php?Page_Type=My_Sites</link> | ||
</MySites> | ||
|
||
<Projects> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Projects</name> | ||
<link>index.php?Page_Type=Projects</link> | ||
</Projects> | ||
|
||
<NGI> <!-- was 'roc' --> | ||
<show_on_instance>all</show_on_instance> | ||
<name>NGIs</name> | ||
<link>index.php?Page_Type=NGIs</link> | ||
</NGI> | ||
|
||
<Sites> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Sites</name> | ||
<link>index.php?Page_Type=Sites</link> | ||
</Sites> | ||
|
||
<ServiceGroups> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Service Groups</name> | ||
<link>index.php?Page_Type=Service_Groups</link> | ||
</ServiceGroups> | ||
|
||
<Services> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Services</name> | ||
<link>index.php?Page_Type=Services</link> | ||
</Services> | ||
|
||
<ServiceTypes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Service Types</name> | ||
<link>index.php?Page_Type=Service_Types</link> | ||
</ServiceTypes> | ||
|
||
<Scopes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Scopes</name> | ||
<link>index.php?Page_Type=Scopes</link> | ||
</Scopes> | ||
|
||
<RoleActionMappings> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Role Action Map</name> | ||
<link>index.php?Page_Type=View_Role_Action_Mappings</link> | ||
</RoleActionMappings> | ||
|
||
<spacer> | ||
<spacer>Add</spacer> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
</spacer> | ||
|
||
<AddSite> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Site</name> | ||
<link>index.php?Page_Type=Add_Site</link> | ||
</AddSite> | ||
|
||
<AddServiceGroup> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Service Group</name> | ||
<link>index.php?Page_Type=Add_Service_Group</link> | ||
</AddServiceGroup> | ||
|
||
<AddService> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Service</name> | ||
<link>index.php?Page_Type=Add_Service</link> | ||
</AddService> | ||
|
||
<AddDowntime> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Downtime</name> | ||
<link>index.php?Page_Type=Add_Downtime</link> | ||
</AddDowntime> | ||
|
||
<spacer> | ||
<spacer>Downtimes</spacer> | ||
<show_on_instance>all</show_on_instance> | ||
</spacer> | ||
|
||
|
||
<!--<current_downtimes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Recent & Planned</name> | ||
<link>http://operations-portal.in2p3.fr/index.php/dashboard/do</link> | ||
</current_downtimes>--> | ||
|
||
<CurrentDowntimes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Active & Imminent</name> | ||
<link>index.php?Page_Type=Downtimes_Overview</link> | ||
</CurrentDowntimes> | ||
|
||
<Calendar> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Downtime Calendar</name> | ||
<link>index.php?Page_Type=Downtimes_Calendar</link> | ||
</Calendar> | ||
|
||
<spacer> | ||
<spacer>About GOCDB5</spacer> | ||
<show_on_instance>all</show_on_instance> | ||
</spacer> | ||
|
||
|
||
|
||
<HelpAndContact> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Doc, Help & Support</name> | ||
<link>index.php?Page_Type=Static_HTML&Page=Help_And_Contact</link> | ||
</HelpAndContact> | ||
|
||
<spacer> | ||
<spacer>GOCDB Admin</spacer> | ||
<show_on_instance>admin</show_on_instance> | ||
</spacer> | ||
|
||
<AddNGI> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add NGI</name> | ||
<link>index.php?Page_Type=Admin_Add_NGI</link> | ||
</AddNGI> | ||
|
||
<AddProject> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add Project</name> | ||
<link>index.php?Page_Type=Admin_Add_Project</link> | ||
</AddProject> | ||
|
||
<AddServiceTypes> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add Service Type</name> | ||
<link>index.php?Page_Type=Admin_Add_Service_Type</link> | ||
</AddServiceTypes> | ||
|
||
<MoveServiceEndPoint> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Move Service</name> | ||
<link>index.php?Page_Type=Admin_Move_SEP</link> | ||
</MoveServiceEndPoint> | ||
|
||
<MoveSite> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Move Site</name> | ||
<link>index.php?Page_Type=Admin_Move_Site</link> | ||
</MoveSite> | ||
|
||
<Users> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Users</name> | ||
<link>index.php?Page_Type=Admin_Users</link> | ||
</Users> | ||
|
||
<main_menu> | ||
<spacer> | ||
<show_on_instance>all</show_on_instance> | ||
<spacer>Browse</spacer> | ||
</spacer> | ||
|
||
<MySites> | ||
<show_on_instance>all</show_on_instance> | ||
<name>My Resources</name> | ||
<link>index.php?Page_Type=My_Sites</link> | ||
</MySites> | ||
|
||
<Projects> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Projects</name> | ||
<link>index.php?Page_Type=Projects</link> | ||
</Projects> | ||
|
||
<NGI> <!-- was 'roc' --> | ||
<show_on_instance>all</show_on_instance> | ||
<name>NGIs</name> | ||
<link>index.php?Page_Type=NGIs</link> | ||
</NGI> | ||
|
||
<Sites> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Sites</name> | ||
<link>index.php?Page_Type=Sites</link> | ||
</Sites> | ||
|
||
<ServiceGroups> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Service Groups</name> | ||
<link>index.php?Page_Type=Service_Groups</link> | ||
</ServiceGroups> | ||
|
||
<Services> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Services</name> | ||
<link>index.php?Page_Type=Services</link> | ||
</Services> | ||
|
||
<ServiceTypes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Service Types</name> | ||
<link>index.php?Page_Type=Service_Types</link> | ||
</ServiceTypes> | ||
|
||
<Scopes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Scopes</name> | ||
<link>index.php?Page_Type=Scopes</link> | ||
</Scopes> | ||
|
||
<RoleActionMappings> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Role Action Map</name> | ||
<link>index.php?Page_Type=View_Role_Action_Mappings</link> | ||
</RoleActionMappings> | ||
|
||
<spacer> | ||
<spacer>Add</spacer> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
</spacer> | ||
|
||
<AddSite> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Site</name> | ||
<link>index.php?Page_Type=Add_Site</link> | ||
</AddSite> | ||
|
||
<AddServiceGroup> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Service Group</name> | ||
<link>index.php?Page_Type=Add_Service_Group</link> | ||
</AddServiceGroup> | ||
|
||
<AddService> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Service</name> | ||
<link>index.php?Page_Type=Add_Service</link> | ||
</AddService> | ||
|
||
<AddDowntime> | ||
<show_on_instance>write_enabled</show_on_instance> | ||
<name>Add Downtime</name> | ||
<link>index.php?Page_Type=Add_Downtime</link> | ||
</AddDowntime> | ||
|
||
<spacer> | ||
<spacer>Downtimes</spacer> | ||
<show_on_instance>all</show_on_instance> | ||
</spacer> | ||
|
||
<CurrentDowntimes> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Active & Imminent</name> | ||
<link>index.php?Page_Type=Downtimes_Overview</link> | ||
</CurrentDowntimes> | ||
|
||
<Calendar> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Downtime Calendar</name> | ||
<link>index.php?Page_Type=Downtimes_Calendar</link> | ||
</Calendar> | ||
|
||
<spacer> | ||
<spacer>About GOCDB5</spacer> | ||
<show_on_instance>all</show_on_instance> | ||
</spacer> | ||
|
||
<HelpAndContact> | ||
<show_on_instance>all</show_on_instance> | ||
<name>Doc, Help & Support</name> | ||
<link> | ||
index.php?Page_Type=Static_HTML&Page=Help_And_Contact | ||
</link> | ||
</HelpAndContact> | ||
|
||
<spacer> | ||
<spacer>GOCDB Admin</spacer> | ||
<show_on_instance>admin</show_on_instance> | ||
</spacer> | ||
|
||
<AddNGI> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add NGI</name> | ||
<link>index.php?Page_Type=Admin_Add_NGI</link> | ||
</AddNGI> | ||
|
||
<AddProject> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add Project</name> | ||
<link>index.php?Page_Type=Admin_Add_Project</link> | ||
</AddProject> | ||
|
||
<AddServiceTypes> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Add Service Type</name> | ||
<link>index.php?Page_Type=Admin_Add_Service_Type</link> | ||
</AddServiceTypes> | ||
|
||
<MoveServiceEndPoint> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Move Service</name> | ||
<link>index.php?Page_Type=Admin_Move_SEP</link> | ||
</MoveServiceEndPoint> | ||
|
||
<MoveSite> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Move Site</name> | ||
<link>index.php?Page_Type=Admin_Move_Site</link> | ||
</MoveSite> | ||
|
||
<Users> | ||
<show_on_instance>admin</show_on_instance> | ||
<name>Users</name> | ||
<link>index.php?Page_Type=Admin_Users</link> | ||
</Users> | ||
</main_menu> | ||
</menus> |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use parentheses around
__DIR__ . '/../../../web_portal/components/Get_User_Principle.php'
to make it clear this is the same argument torequire_once
.(Note, I am not a PHP expert! I don't know if that is a good idea or not!)