diff --git a/app/views/dossiers/_infos_dossier.html.haml b/app/views/dossiers/_infos_dossier.html.haml index 5bc09e91a..7647d48a1 100644 --- a/app/views/dossiers/_infos_dossier.html.haml +++ b/app/views/dossiers/_infos_dossier.html.haml @@ -26,10 +26,11 @@ / -if !request.url.include?('admin') - .col-lg-6.col-md-6 - %br - %br - %a#modif_description{href: "/dossiers/#{@dossier.id}/description?back_url=recapitulatif"} Modifier la description + - unless gestionnaire_signed_in? + .col-lg-6.col-md-6 + %br + %br + %a#modif_description{href: "/dossiers/#{@dossier.id}/description?back_url=recapitulatif"} Modifier la description .col-md-6 diff --git a/db/schema.rb b/db/schema.rb index 27b66f15f..8fd074580 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -45,8 +45,8 @@ ActiveRecord::Schema.define(version: 20150922113504) do t.boolean "dossier_termine" t.integer "procedure_id" t.date "date_previsionnelle" - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", default: '2015-09-22 09:25:29' + t.datetime "updated_at", default: '2015-09-22 09:25:29' end add_index "dossiers", ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree @@ -108,7 +108,7 @@ ActiveRecord::Schema.define(version: 20150922113504) do t.integer "type_de_piece_justificative_id" end - add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_piece_jointe_id", using: :btree + add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_de_piece_justificative_id", using: :btree create_table "procedures", force: :cascade do |t| t.string "libelle"