"Fossies" - the Fresh Open Source Software Archive

Member "redmine-4.1.1/app/views/projects/show.api.rsb" (6 Apr 2020, 895 Bytes) of package /linux/www/redmine-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "show.api.rsb": 4.1.0_vs_4.1.1.

    1 api.project do
    2   api.id          @project.id
    3   api.name        @project.name
    4   api.identifier  @project.identifier
    5   api.description @project.description
    6   api.homepage    @project.homepage
    7   api.parent(:id => @project.parent.id, :name => @project.parent.name) if @project.parent && @project.parent.visible?
    8   api.status      @project.status
    9   api.is_public   @project.is_public?
   10   api.inherit_members @project.inherit_members?
   11   api.default_version(:id => @project.default_version.id, :name => @project.default_version.name) if @project.default_version
   12   api.default_assignee(:id => @project.project.default_assigned_to.id, :name => @project.project.default_assigned_to.name) if @project.default_assigned_to
   13 
   14   render_api_custom_values @project.visible_custom_field_values, api
   15   render_api_includes(@project, api)
   16 
   17   api.created_on @project.created_on
   18   api.updated_on @project.updated_on
   19 end