Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
agenda-libre-quebec
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
agenda-libre-quebec
Validations
fcb2bd40
Valider
fcb2bd40
rédigé
il y a 8 ans
par
echarp
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Bundle update
parent
5cdb57c0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
3
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
Gemfile.lock
+19
-18
19 ajouts, 18 suppressions
Gemfile.lock
app/assets/javascripts/application.js.coffee
+1
-1
1 ajout, 1 suppression
app/assets/javascripts/application.js.coffee
app/controllers/tags_controller.rb
+6
-1
6 ajouts, 1 suppression
app/controllers/tags_controller.rb
avec
26 ajouts
et
20 suppressions
Gemfile.lock
+
19
−
18
Voir le fichier @
fcb2bd40
...
@@ -17,9 +17,9 @@ GIT
...
@@ -17,9 +17,9 @@ GIT
GIT
GIT
remote: git://github.com/svenfuchs/i18n-active_record.git
remote: git://github.com/svenfuchs/i18n-active_record.git
revision:
b26c2e62e32df2f3b9ae42083647725b7ecfdff
0
revision:
cf2e3ad8afad0cc90da1e9693c928d3eb52da5b
0
specs:
specs:
i18n-active_record (0.
0.2
)
i18n-active_record (0.
1.0
)
i18n (>= 0.5.0)
i18n (>= 0.5.0)
GEM
GEM
...
@@ -132,7 +132,7 @@ GEM
...
@@ -132,7 +132,7 @@ GEM
devise-i18n (1.0.0)
devise-i18n (1.0.0)
differ (0.1.2)
differ (0.1.2)
docile (1.1.5)
docile (1.1.5)
domain_name (0.5.2016030
9
)
domain_name (0.5.201603
1
0)
unf (>= 0.0.5, < 1.0.0)
unf (>= 0.0.5, < 1.0.0)
em-websocket (0.5.1)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
eventmachine (>= 0.12.9)
...
@@ -141,7 +141,7 @@ GEM
...
@@ -141,7 +141,7 @@ GEM
activemodel
activemodel
equalizer (0.0.10)
equalizer (0.0.10)
erubis (2.7.0)
erubis (2.7.0)
eventmachine (1.
0.9
.1)
eventmachine (1.
2.0
.1)
execjs (2.6.0)
execjs (2.6.0)
faraday (0.9.2)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
multipart-post (>= 1.2, < 3)
...
@@ -149,7 +149,7 @@ GEM
...
@@ -149,7 +149,7 @@ GEM
font-awesome-sass (4.5.0)
font-awesome-sass (4.5.0)
sass (>= 3.2)
sass (>= 3.2)
formatador (0.2.5)
formatador (0.2.5)
formtastic (3.1.
3
)
formtastic (3.1.
4
)
actionpack (>= 3.2.13)
actionpack (>= 3.2.13)
formtastic_i18n (0.6.0)
formtastic_i18n (0.6.0)
geocoder (1.3.1)
geocoder (1.3.1)
...
@@ -208,7 +208,7 @@ GEM
...
@@ -208,7 +208,7 @@ GEM
haml (~> 4.0.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
ruby_parser (~> 3.5)
http (1.0.
2
)
http (1.0.
4
)
addressable (~> 2.3)
addressable (~> 2.3)
http-cookie (~> 1.0)
http-cookie (~> 1.0)
http-form_data (~> 1.0.1)
http-form_data (~> 1.0.1)
...
@@ -250,14 +250,16 @@ GEM
...
@@ -250,14 +250,16 @@ GEM
loofah (2.0.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
nokogiri (>= 1.5.9)
lumberjack (1.0.10)
lumberjack (1.0.10)
mail (2.6.
3
)
mail (2.6.
4
)
mime-types (>= 1.16, <
3
)
mime-types (>= 1.16, <
4
)
memoizable (0.4.2)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
thread_safe (~> 0.3, >= 0.3.1)
meta-tags (2.1.0)
meta-tags (2.1.0)
actionpack (>= 3.0.0)
actionpack (>= 3.0.0)
method_source (0.8.2)
method_source (0.8.2)
mime-types (2.99.1)
mime-types (3.0)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0221)
mini_portile2 (2.0.0)
mini_portile2 (2.0.0)
minitest (5.8.4)
minitest (5.8.4)
modernizr-rails (2.7.1)
modernizr-rails (2.7.1)
...
@@ -276,7 +278,7 @@ GEM
...
@@ -276,7 +278,7 @@ GEM
activerecord (>= 3.0, < 6.0)
activerecord (>= 3.0, < 6.0)
activesupport (>= 3.0, < 6.0)
activesupport (>= 3.0, < 6.0)
request_store (~> 1.1)
request_store (~> 1.1)
parser (2.3.0.
6
)
parser (2.3.0.
7
)
ast (~> 2.2)
ast (~> 2.2)
polyamorous (1.3.0)
polyamorous (1.3.0)
activerecord (>= 3.0)
activerecord (>= 3.0)
...
@@ -320,7 +322,7 @@ GEM
...
@@ -320,7 +322,7 @@ GEM
rake (>= 0.8.7)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rainbow (2.1.0)
rake (11.1.
0
)
rake (11.1.
1
)
ransack (1.7.0)
ransack (1.7.0)
actionpack (>= 3.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
activerecord (>= 3.0)
...
@@ -335,10 +337,10 @@ GEM
...
@@ -335,10 +337,10 @@ GEM
redcarpet (3.3.4)
redcarpet (3.3.4)
ref (2.0.0)
ref (2.0.0)
request_store (1.3.0)
request_store (1.3.0)
responders (2.1.
1
)
responders (2.1.
2
)
railties (>= 4.2.0, < 5.1)
railties (>= 4.2.0, < 5.1)
rubocop (0.3
8
.0)
rubocop (0.3
9
.0)
parser (>= 2.3.0.
6
, < 3.0)
parser (>= 2.3.0.
7
, < 3.0)
powerpack (~> 0.1)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
ruby-progressbar (~> 1.7)
...
@@ -396,7 +398,7 @@ GEM
...
@@ -396,7 +398,7 @@ GEM
thor (0.19.1)
thor (0.19.1)
thread_safe (0.3.5)
thread_safe (0.3.5)
tilt (2.0.2)
tilt (2.0.2)
tinymce-rails (4.3.
7
)
tinymce-rails (4.3.
8
)
railties (>= 3.1.1)
railties (>= 3.1.1)
tinymce-rails-langs (4.20160310)
tinymce-rails-langs (4.20160310)
tinymce-rails (~> 4.1, >= 4.1.10)
tinymce-rails (~> 4.1, >= 4.1.10)
...
@@ -415,9 +417,8 @@ GEM
...
@@ -415,9 +417,8 @@ GEM
simple_oauth (~> 0.3.0)
simple_oauth (~> 0.3.0)
tzinfo (1.2.2)
tzinfo (1.2.2)
thread_safe (~> 0.1)
thread_safe (~> 0.1)
uglifier (2.7.2)
uglifier (3.0.0)
execjs (>= 0.3.0)
execjs (>= 0.3.0, < 3)
json (>= 1.8.0)
unf (0.1.4)
unf (0.1.4)
unf_ext
unf_ext
unf_ext (0.0.7.2)
unf_ext (0.0.7.2)
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
app/assets/javascripts/application.js.coffee
+
1
−
1
Voir le fichier @
fcb2bd40
...
@@ -50,4 +50,4 @@ $(document).ready ->
...
@@ -50,4 +50,4 @@ $(document).ready ->
$
(
'img.favicon'
).
one
'error'
,
->
$
(
'img.favicon'
).
one
'error'
,
->
$
(
this
).
css
visibility
:
'hidden'
$
(
this
).
css
visibility
:
'hidden'
# $('select').select2()
# $('select').select2()
Ce diff est replié.
Cliquez pour l'agrandir.
app/controllers/tags_controller.rb
+
6
−
1
Voir le fichier @
fcb2bd40
...
@@ -16,6 +16,11 @@ class TagsController < InheritedResources::Base
...
@@ -16,6 +16,11 @@ class TagsController < InheritedResources::Base
def
show
def
show
@events_future
=
apply_scopes
(
Event
).
moderated
.
future
@events_future
=
apply_scopes
(
Event
).
moderated
.
future
@events_past
=
apply_scopes
(
Event
).
moderated
.
past
@events_past
=
apply_scopes
(
Event
).
moderated
.
past
respond_to
do
|
format
|
format
.
html
format
.
json
{
render
json:
@events_future
+
@events_past
}
end
end
end
def
orgas
def
orgas
...
@@ -35,6 +40,6 @@ class TagsController < InheritedResources::Base
...
@@ -35,6 +40,6 @@ class TagsController < InheritedResources::Base
.
group_by
{
|
i
|
i
}
.
group_by
{
|
i
|
i
}
.
map
{
|
k
,
v
|
[
k
,
v
.
size
]
}
.
map
{
|
k
,
v
|
[
k
,
v
.
size
]
}
.
reject
{
|
_k
,
v
|
v
<=
3
}
.
reject
{
|
_k
,
v
|
v
<=
3
}
.
sort
.
sort
{
|
t
|
-
t
[
1
]
}
end
end
end
end
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter