Project

General

Profile

Feature #10384 » redmine_versions_wiki_page.patch

Brice Beaumesnil, 2012-03-08 09:39

View differences:

app/views/versions/show.api.rsb (working copy)
2 2
  api.id @version.id
3 3
  api.project(:id => @version.project_id, :name => @version.project.name) unless @version.project.nil?
4 4

  
5
  api.name        @version.name
6
  api.description @version.description
7
  api.status      @version.status
8
  api.due_date    @version.effective_date
5
  api.name              @version.name
6
  api.description       @version.description
7
  api.status            @version.status
8
  api.due_date          @version.effective_date
9
  api.full_description  @version.wiki_page.content.text if @version.wiki_page
9 10

  
10 11
  render_api_custom_values @version.custom_field_values, api
11 12

  
app/views/versions/index.api.rsb (working copy)
4 4
      api.id version.id
5 5
      api.project(:id => version.project_id, :name => version.project.name) unless version.project.nil?
6 6

  
7
      api.name        version.name
8
      api.description version.description
9
      api.status      version.status
10
      api.due_date    version.effective_date
11

  
7
      api.name              version.name
8
      api.description       version.description
9
      api.status            version.status
10
      api.due_date          version.effective_date
11
      api.full_description  version.wiki_page.content.text if version.wiki_page
12
      
12 13
      render_api_custom_values version.custom_field_values, api
13 14

  
14 15
      api.created_on version.created_on
(3-3/3)