Revision 912:5e80956cc792 .svn/pristine/09

View differences:

.svn/pristine/09/0950951344735156104a9fd2df5df66fc9bd2194.svn-base
1
# Redmine - project management software
2
# Copyright (C) 2006-2011  Jean-Philippe Lang
3
#
4
# This program is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU General Public License
6
# as published by the Free Software Foundation; either version 2
7
# of the License, or (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17

  
18
module Redmine
19
  module Views
20
    module Builders
21
      def self.for(format, &block)
22
        builder = case format
23
          when 'xml',  :xml;  Builders::Xml.new
24
          when 'json', :json; Builders::Json.new
25
          else; raise "No builder for format #{format}"
26
        end
27
        if block
28
          block.call(builder)
29
        else
30
          builder
31
        end
32
      end
33
    end
34
  end
35
end
.svn/pristine/09/095b395fcfe029ccbb2acac47d6cc8ef84b80f97.svn-base
1
syntax: glob
2

  
3
.project
4
.loadpath
5
config/additional_environment.rb
6
config/configuration.yml
7
config/database.yml
8
config/email.yml
9
config/initializers/session_store.rb
10
coverage
11
db/*.db
12
db/*.sqlite3
13
db/schema.rb
14
files/*
15
lib/redmine/scm/adapters/mercurial/redminehelper.pyc
16
lib/redmine/scm/adapters/mercurial/redminehelper.pyo
17
log/*.log*
18
log/mongrel_debug
19
public/dispatch.*
20
public/plugin_assets
21
tmp/*
22
tmp/cache/*
23
tmp/sessions/*
24
tmp/sockets/*
25
tmp/test/*
26
vendor/rails
27
*.rbc
28

  
29
.svn/
30
.git/
31

  
32
.bundle
33
Gemfile.lock
34
Gemfile.local
35

  
.svn/pristine/09/09843d45a0a3ac966e4fda0bad80ec81990f71bb.svn-base
1
Net::LDAP is copyrighted free software by Francis Cianfrocca
2
<garbagecat10@gmail.com>. You can redistribute it and/or modify it under either
3
the terms of the GPL (see the file COPYING), or the conditions below:
4

  
5
1. You may make and give away verbatim copies of the source form of the
6
   software without restriction, provided that you duplicate all of the
7
   original copyright notices and associated disclaimers.
8

  
9
2. You may modify your copy of the software in any way, provided that you do
10
   at least ONE of the following:
11

  
12
   a) place your modifications in the Public Domain or otherwise make them
13
      Freely Available, such as by posting said modifications to Usenet or
14
      an equivalent medium, or by allowing the author to include your
15
      modifications in the software.
16

  
17
   b) use the modified software only within your corporation or
18
      organization.
19

  
20
   c) rename any non-standard executables so the names do not conflict with
21
      standard executables, which must also be provided.
22

  
23
   d) make other distribution arrangements with the author.
24

  
25
3. You may distribute the software in object code or executable form,
26
   provided that you do at least ONE of the following:
27

  
28
   a) distribute the executables and library files of the software, together
29
      with instructions (in the manual page or equivalent) on where to get
30
      the original distribution.
31

  
32
   b) accompany the distribution with the machine-readable source of the
33
      software.
34

  
35
   c) give non-standard executables non-standard names, with instructions on
36
      where to get the original software distribution.
37

  
38
   d) make other distribution arrangements with the author.
39

  
40
4. You may modify and include the part of the software into any other
41
   software (possibly commercial).  But some files in the distribution are
42
   not written by the author, so that they are not under this terms.
43

  
44
   They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
45
   files under the ./missing directory.  See each file for the copying
46
   condition.
47

  
48
5. The scripts and library files supplied as input to or produced as output
49
   from the software do not automatically fall under the copyright of the
50
   software, but belong to whomever generated them, and may be sold
51
   commercially, and may be aggregated with this software.
52

  
53
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
54
   WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
55
   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.svn/pristine/09/09aef7f6ca17199f5fead2083da8308be0ce20bb.svn-base
1
class AddMessagesSticky < ActiveRecord::Migration
2
  def self.up
3
    add_column :messages, :sticky, :integer, :default => 0
4
  end
5

  
6
  def self.down
7
    remove_column :messages, :sticky
8
  end
9
end
.svn/pristine/09/09e9cff44f8552801f81cd9959399327d07f5275.svn-base
1
jsToolBar.strings = {};
2
jsToolBar.strings['Strong'] = 'Extra nadruk';
3
jsToolBar.strings['Italic'] = 'Cursief';
4
jsToolBar.strings['Underline'] = 'Onderstreept';
5
jsToolBar.strings['Deleted'] = 'Verwijderd';
6
jsToolBar.strings['Code'] = 'Computercode';
7
jsToolBar.strings['Heading 1'] = 'Kop 1';
8
jsToolBar.strings['Heading 2'] = 'Kop 2';
9
jsToolBar.strings['Heading 3'] = 'Kop 3';
10
jsToolBar.strings['Unordered list'] = 'Ongeordende lijst';
11
jsToolBar.strings['Ordered list'] = 'Geordende lijst';
12
jsToolBar.strings['Quote'] = 'Citaat';
13
jsToolBar.strings['Unquote'] = 'Verwijder citaat';
14
jsToolBar.strings['Preformatted text'] = 'Voor-geformateerde tekst';
15
jsToolBar.strings['Wiki link'] = 'Link naar een Wiki pagina';
16
jsToolBar.strings['Image'] = 'Afbeelding';
.svn/pristine/09/09ee2f48a5aafa2ec6da3a021e076cc86af61f01.svn-base
1
<h2><%= l(:label_board_new) %></h2>
2

  
3
<% labelled_tabular_form_for :board, @board, :url => {:action => 'new'} do |f| %>
4
  <%= render :partial => 'form', :locals => {:f => f} %>
5
  <%= submit_tag l(:button_create) %>
6
<% end %>
.svn/pristine/09/09fd6db0926bf35a4db846796898a3efe70dfa6f.svn-base
1
<table class="list transitions-<%= name %>">
2
<thead>
3
  <tr>
4
    <th align="left">
5
      <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
6
                                                          :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
7
      <%=l(:label_current_status)%>
8
    </th>
9
    <th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
10
  </tr>
11
  <tr>
12
    <td></td>
13
    <% for new_status in @statuses %>
14
    <td width="<%= 75 / @statuses.size %>%" align="center">
15
      <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
16
                                                      :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
17
      <%=h new_status.name %>
18
    </td>
19
    <% end %>
20
  </tr>
21
</thead>
22
<tbody>
23
  <% for old_status in @statuses %>
24
  <tr class="<%= cycle("odd", "even") %>">
25
    <td>
26
      <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')",
27
                                                          :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
28

  
29
      <%=h old_status.name %>
30
    </td>
31
    <% for new_status in @statuses -%>
32
    <td align="center">
33
      <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
34
            :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
35
    </td>
36
    <% end -%>
37
  </tr>
38
  <% end %>
39
</tbody>
40
</table>

Also available in: Unified diff