Revision 912:5e80956cc792 .svn/pristine/02

View differences:

.svn/pristine/02/025612e4a47b7cb1c36f52b9661b0cc1f94b2a45.svn-base
1
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
one:
3
  id: 1
4
<% for attribute in attributes -%>
5
  <%= attribute.name %>: <%= attribute.default %>
6
<% end -%>
7
two:
8
  id: 2
9
<% for attribute in attributes -%>
10
  <%= attribute.name %>: <%= attribute.default %>
11
<% end -%>
.svn/pristine/02/028f99ce7a03d78da3e425bf63496e052307234f.svn-base
1
Message-ID: <4974C93E.3070005@somenet.foo>
2
Date: Mon, 19 Jan 2009 19:41:02 +0100
3
From: "John Smith" <jsmith@somenet.foo>
4
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
5
MIME-Version: 1.0
6
To: redmine@somenet.foo
7
Subject: Reply via email
8
References: <redmine.message-2.20070512171800@somenet.foo>
9
In-Reply-To: <redmine.message-2.20070512171800@somenet.foo>
10
Content-Type: text/plain; charset=UTF-8; format=flowed
11
Content-Transfer-Encoding: 7bit
12

  
13
This is a reply to a forum message.
14

  
15

  
.svn/pristine/02/02c8aed5827fd37b4953522a150e77160bca0811.svn-base
1
--- 
2
issue_categories_001: 
3
  name: Printing
4
  project_id: 1
5
  assigned_to_id: 2
6
  id: 1
7
issue_categories_002: 
8
  name: Recipes
9
  project_id: 1
10
  assigned_to_id: 
11
  id: 2
12
issue_categories_003: 
13
  name: Stock management
14
  project_id: 2
15
  assigned_to_id: 
16
  id: 3
17
issue_categories_004: 
18
  name: Printing
19
  project_id: 2
20
  assigned_to_id: 
21
  id: 4
22
  
.svn/pristine/02/02dadac204e591b101d6e3bacd9c59cdeb84b1b6.svn-base
1
<ul>
2
  <% if !@time_entry.nil? -%>
3
    <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => @time_entry},
4
            :class => 'icon-edit', :disabled => !@can[:edit] %></li>
5
  <% else %>
6
    <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)},
7
            :class => 'icon-edit', :disabled => !@can[:edit] %></li>
8
  <% end %>
9

  
10
  <%= call_hook(:view_time_entries_context_menu_start, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
11

  
12
  <% if @activities.present? -%>
13
  <li class="folder">
14
    <a href="#" class="submenu"><%= l(:field_activity) %></a>
15
    <ul>
16
    <% @activities.each do |u| -%>
17
        <li><%= context_menu_link h(u.name), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
18
                                  :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:edit] %></li>
19
    <% end -%>
20
        <li><%= context_menu_link l(:label_none), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
21
                                  :selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:edit] %></li>
22
    </ul>
23
  </li>
24
  <% end %>
25

  
26
  <%= call_hook(:view_time_entries_context_menu_end, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
27

  
28
  <li>
29
    <%= context_menu_link l(:button_delete),
30
      {:controller => 'timelog', :action => 'destroy', :ids => @time_entries.collect(&:id), :back_url => @back},
31
      :method => :delete, :confirm => l(:text_time_entries_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %>
32
  </li>
33
</ul>
.svn/pristine/02/02f1dca1c1029f6ec67eec5619e4edd46e4ee43d.svn-base
1
class AddChangesetsScmid < ActiveRecord::Migration
2
  def self.up
3
    add_column :changesets, :scmid, :string
4
  end
5

  
6
  def self.down
7
    remove_column :changesets, :scmid
8
  end
9
end

Also available in: Unified diff