Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6761a7c1

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID 6761a7c1fdf3074ac5a16dccf04d40dbc64f6b5f
  • Vorgänger 5a0288d0
  • Nachfolger 459574b9

SimpleSystemSetting: Umstellung von »Pflichtenhefte« → »Abnahmestatus«

Unterschiede anzeigen:

SL/Controller/SimpleSystemSetting.pm
141 141
    },
142 142
  },
143 143

  
144
  requirement_spec_acceptance_status => {
145
    # Make locales.pl happy: $self->render("simple_system_setting/_requirement_spec_acceptance_status_form")
146
    class  => 'RequirementSpecAcceptanceStatus',
147
    titles => {
148
      list => t8('Acceptance Statuses'),
149
      add  => t8('Add acceptance status'),
150
      edit => t8('Edit acceptance status'),
151
    },
152
    list_attributes => [
153
      { method => 'name',        title => t8('Name') },
154
      { method => 'description', title => t8('Description') },
155
    ],
156
  },
157

  
144 158
  requirement_spec_predefined_text => {
145 159
    # Make locales.pl happy: $self->render("simple_system_setting/_requirement_spec_predefined_text_form")
146 160
    class  => 'RequirementSpecPredefinedText',
......
338 352
# type-specific helper functions
339 353
#
340 354

  
355
sub setup_requirement_spec_acceptance_status {
356
  my ($self) = @_;
357

  
358
  no warnings 'once';
359
  $self->{valid_names} = \@SL::DB::RequirementSpecAcceptanceStatus::valid_names;
360
}
361

  
341 362
sub setup_requirement_spec_status {
342 363
  my ($self) = @_;
343 364

  

Auch abrufbar als: Unified diff