##// 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:

r13009:63cb3680c14b
r15119:53710d80fc88
Show More
index.api.rsb
19 lines | 713 B | text/plain | TextLexer
Jean-Philippe Lang
Makes /projects API accept same pagination parameters as other API collection resources....
r4458 api.array :projects, api_meta(:total_count => @project_count, :offset => @offset, :limit => @limit) do
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 @projects.each do |project|
api.project do
api.id project.id
api.name project.name
api.identifier project.identifier
api.description project.description
Jean-Philippe Lang
Adds visibility condition on parent project in API....
r6084 api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible?
Jean-Philippe Lang
Adds project status to GET /projects/:id and GET /projects API response (#15815)....
r12374 api.status project.status
Jean-Baptiste Barth
Add project is_public to GET /projects/:id and /projects API response (#17628)....
r12985 api.is_public project.is_public?
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Fixed: error when serializing back objects with custom fields using ActiveResource (#6403)....
r4366 render_api_custom_values project.visible_custom_field_values, api
Jean-Baptiste Barth
Include enabled modules in projects API (#17602)....
r13009 render_api_includes(project, api)
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/index.api.rsb...
r7136
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 api.created_on project.created_on
api.updated_on project.updated_on
end
end
end