[Fix #1536] Remove stringupcasepatch

This commit is contained in:
gregoirenovel 2018-05-30 18:58:09 +02:00
parent faa56956c5
commit 661010100d
8 changed files with 7 additions and 18 deletions

View file

@ -38,8 +38,6 @@ gem 'kaminari'
# Decorators
gem 'draper'
gem 'unicode_utils'
# Gestion des comptes utilisateurs
gem 'devise'
gem 'devise-async'

View file

@ -746,7 +746,6 @@ GEM
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.3.2)
unicode_utils (1.4.0)
unicorn (5.4.0)
kgio (~> 2.6)
raindrops (~> 0.7)
@ -866,7 +865,6 @@ DEPENDENCIES
turbolinks
typhoeus
uglifier
unicode_utils
unicorn
vcr
warden!

View file

@ -2,4 +2,4 @@
- if user_signed_in? && (@facade.dossier.owner_or_invite?(current_user))
%a#maj_carte.action{ href: "/users/dossiers/#{@facade.dossier.id}/carte" }
.col-lg-2.col-md-2.col-sm-2.col-xs-2.action
= 'éditer'.upcase
= 'ÉDITER'

View file

@ -2,4 +2,4 @@
- if user_signed_in? && (@facade.dossier.owner_or_invite?(current_user))
= link_to modifier_dossier_path(@facade.dossier), class: 'action', id: 'maj_infos' do
#edit-dossier.col-lg-2.col-md-2.col-sm-2.col-xs-2.action
= "éditer".upcase
= "ÉDITER"

View file

@ -3,7 +3,7 @@
- if @facade.procedure.for_individual?
.row.title-row
.col-xs-4.split-hr
.col-xs-4.dossier-title= t('utils.depositaire').upcase
.col-xs-4.dossier-title= t('utils.depositaire')
.col-xs-4.split-hr
.row
.col-xs-6.depositaire-label Civilité
@ -29,7 +29,7 @@
- if champ.type_champ == 'header_section'
.row.title-row.margin-top-40
.col-xs-3.split-hr
.col-xs-6.dossier-title= champ.libelle.upcase
.col-xs-6.dossier-title= champ.libelle
.col-xs-3.split-hr
- else
.row
@ -60,7 +60,7 @@
.col-xs-12
.row.title-row
.col-xs-4.split-hr
.col-xs-4.dossier-title= t('utils.pieces').upcase
.col-xs-4.dossier-title= t('utils.pieces')
.col-xs-4.split-hr
.col-xs-12#pieces-justificatives.margin-bot-40

View file

@ -2,7 +2,7 @@
.en-cours
%b
= dossier_count = current_administrateur.procedures.count
= ("Procedures".pluralize(dossier_count)).upcase
= "Procedures".pluralize(dossier_count)
#action-block

View file

@ -1,7 +1,7 @@
#first-block
.en-cours
= dossier_count = current_user.dossiers.count
= ("Dossier".pluralize(dossier_count)).upcase
= "Dossier".pluralize(dossier_count)
%br
EN COURS

View file

@ -1,7 +0,0 @@
require "unicode_utils/upcase"
class String
def upcase
UnicodeUtils.upcase(self)
end
end