Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
499a52e7
Commit
499a52e7
authored
Apr 14, 2017
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ABOUT] CORE TEAM UPDATE.
parent
1cef9ab4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
24 deletions
+77
-24
credits.py
gargantext/util/generators/credits.py
+29
-23
main.py
gargantext/views/pages/main.py
+2
-1
about.html
templates/pages/main/about.html
+46
-0
No files found.
gargantext/util/generators/credits.py
View file @
499a52e7
...
...
@@ -8,29 +8,12 @@ import random
_members
=
[
{
'first_name'
:
'Constance'
,
'last_name'
:
'de Quatrebarbes'
,
'mail'
:
'4barbesATgmail.com'
,
'website'
:
'http://c24b.github.io/'
,
'picture'
:
'constance.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'David'
,
'last_name'
:
'Chavalarias'
,
'mail'
:
'david.chavalariasATiscpif.fr'
,
'website'
:
'http://chavalarias.com'
,
'picture'
:
'david.jpg'
,
'role'
:
'principal investigator'
},
# { 'first_name' : 'Elias', 'last_name' : 'Showk',
# 'mail' : '',
# 'website' : 'https://github.com/elishowk',
# 'picture' : '', 'role' : 'developer'},
{
'first_name'
:
'Mathieu'
,
'last_name'
:
'Rodic'
,
'mail'
:
''
,
'website'
:
'http://rodic.fr'
,
'picture'
:
'mathieu.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Samuel'
,
'last_name'
:
'Castillo J.'
,
'mail'
:
'kaisleanATgmail.com'
,
'website'
:
'http://www.pksm3.droppages.com'
,
...
...
@@ -43,12 +26,6 @@ _members = [
'picture'
:
'maziyar.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Romain'
,
'last_name'
:
'Loth'
,
'mail'
:
''
,
'website'
:
'http://iscpif.fr'
,
'picture'
:
'romain.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Alexandre'
,
'last_name'
:
'Delanoë'
,
'mail'
:
'alexandre+gargantextATdelanoe.org'
,
'website'
:
'http://alexandre.delanoe.org'
,
...
...
@@ -59,6 +36,31 @@ _members = [
# copy-paste the line above and write your informations please
]
_membersPast
=
[
{
'first_name'
:
'Constance'
,
'last_name'
:
'de Quatrebarbes'
,
'mail'
:
'4barbesATgmail.com'
,
'website'
:
'http://c24b.github.io/'
,
'picture'
:
'constance.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Mathieu'
,
'last_name'
:
'Rodic'
,
'mail'
:
''
,
'website'
:
'http://rodic.fr'
,
'picture'
:
'mathieu.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Romain'
,
'last_name'
:
'Loth'
,
'mail'
:
''
,
'website'
:
'http://iscpif.fr'
,
'picture'
:
'romain.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Elias'
,
'last_name'
:
'Showk'
,
'mail'
:
''
,
'website'
:
'https://github.com/elishowk'
,
'picture'
:
''
,
'role'
:
'developer'
},
]
_institutions
=
[
{
'name'
:
'Mines ParisTech'
,
'website'
:
'http://mines-paristech.fr'
,
'picture'
:
'mines.png'
,
'funds'
:
''
},
#{ 'name' : 'Institut Pasteur', 'website' : 'http://www.pasteur.fr', 'picture' : 'pasteur.png', 'funds':''},
...
...
@@ -87,6 +89,10 @@ def members():
random
.
shuffle
(
_members
)
return
_members
def
membersPast
():
random
.
shuffle
(
_membersPast
)
return
_membersPast
def
institutions
():
random
.
shuffle
(
_institutions
)
return
_institutions
...
...
gargantext/views/pages/main.py
View file @
499a52e7
...
...
@@ -47,7 +47,8 @@ def about(request):
context
=
{
'user'
:
request
.
user
,
'date'
:
datetime
.
datetime
.
now
(),
'team'
:
credits
.
members
(),
'team'
:
credits
.
members
(),
'teamPast'
:
credits
.
membersPast
(),
'institutions'
:
credits
.
institutions
(),
'labos'
:
credits
.
labs
(),
'grants'
:
credits
.
grants
(),
...
...
templates/pages/main/about.html
View file @
499a52e7
...
...
@@ -183,9 +183,55 @@
</div>
</div>
</div>
{% endif %}
{% if teamPast %}
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<h2
class=
"panel-title"
>
<a
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseTeamPast"
>
<center>
<h2>
<span
class=
"glyphicon glyphicon-question-sign"
aria-hidden=
"true"
></span>
Former Developers
<span
class=
"glyphicon glyphicon-question-sign"
aria-hidden=
"true"
></span>
</h2>
</center>
</a>
</h2>
</div>
<div
id=
"collapseTeamPast"
class=
"panel-collapse collapse"
role=
"tabpanel"
>
<div
class=
"panel-body"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"thumbnails"
>
{% for member in teamPast %}
<div
class=
"col-md-5 "
>
<div
class=
"thumbnail"
>
<div
class=
"caption"
>
<center>
<h3>
{{ member.first_name }} {{member.last_name }}
</h3>
{% if member.role %}
<p
class=
"description"
>
{{ member.role }}
</p>
{% endif %}
</center>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment