manager: remove support for old pj
This commit is contained in:
parent
0da0a2b446
commit
f6a1c7ded3
5 changed files with 0 additions and 26 deletions
|
@ -8,7 +8,6 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
||||||
# which determines how the attribute is displayed
|
# which determines how the attribute is displayed
|
||||||
# on pages throughout the dashboard.
|
# on pages throughout the dashboard.
|
||||||
ATTRIBUTE_TYPES = {
|
ATTRIBUTE_TYPES = {
|
||||||
types_de_piece_justificative: TypesDePieceJustificativeCollectionField,
|
|
||||||
types_de_champ: TypesDeChampCollectionField,
|
types_de_champ: TypesDeChampCollectionField,
|
||||||
types_de_champ_private: TypesDeChampCollectionField,
|
types_de_champ_private: TypesDeChampCollectionField,
|
||||||
path: ProcedureLinkField,
|
path: ProcedureLinkField,
|
||||||
|
@ -72,7 +71,6 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
||||||
:archived_at,
|
:archived_at,
|
||||||
:types_de_champ,
|
:types_de_champ,
|
||||||
:types_de_champ_private,
|
:types_de_champ_private,
|
||||||
:types_de_piece_justificative,
|
|
||||||
:for_individual,
|
:for_individual,
|
||||||
:auto_archive_on,
|
:auto_archive_on,
|
||||||
:gestionnaires,
|
:gestionnaires,
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
require "administrate/field/base"
|
|
||||||
|
|
||||||
class TypesDePieceJustificativeCollectionField < Administrate::Field::Base
|
|
||||||
def to_s
|
|
||||||
data
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
.field-unit__label
|
|
||||||
= f.label field.attribute
|
|
||||||
.field-unit__field
|
|
||||||
= f.text_field field.attribute
|
|
|
@ -1 +0,0 @@
|
||||||
= field.to_s
|
|
|
@ -1,12 +0,0 @@
|
||||||
- if field.data.any?
|
|
||||||
%table.collection-data{ "aria-labelledby": "page-title" }
|
|
||||||
%thead
|
|
||||||
%tr
|
|
||||||
%td.cell-label Libelle
|
|
||||||
%tbody
|
|
||||||
- field.data.order(:order_place).each do |f|
|
|
||||||
%tr
|
|
||||||
%td.cell-data
|
|
||||||
= f.libelle
|
|
||||||
- else
|
|
||||||
Aucun
|
|
Loading…
Reference in a new issue