##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9965:b603aa74f9ea
r15119:53710d80fc88
Show More
index.api.rsb
19 lines | 604 B | text/plain | TextLexer
api.array :versions, api_meta(:total_count => @versions.size) do
@versions.each do |version|
api.version do
api.id version.id
api.project(:id => version.project_id, :name => version.project.name) unless version.project.nil?
api.name version.name
api.description version.description
api.status version.status
api.due_date version.effective_date
api.sharing version.sharing
render_api_custom_values version.custom_field_values, api
api.created_on version.created_on
api.updated_on version.updated_on
end
end
end