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
c9554213
Commit
c9554213
authored
9 years ago
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Institutional description.
parent
b505640b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
22 deletions
+48
-22
about.py
gargantext_web/about.py
+18
-8
views.py
gargantext_web/views.py
+2
-1
about.html
templates/about.html
+28
-13
No files found.
gargantext_web/about.py
View file @
c9554213
...
...
@@ -17,11 +17,6 @@ def get_team():
'''
team
=
[
{
'first_name'
:
'Alexandre'
,
'last_name'
:
'Delanoë'
,
'mail'
:
'alexandre+gargantextATdelanoe.org'
,
'website'
:
'http://alexandre.delanoe.org'
,
'picture'
:
'alexandre.jpg'
,
'role'
:
'principal investigator, developer'
},
{
'first_name'
:
'David'
,
'last_name'
:
'Chavalarias'
,
'mail'
:
'david.chavalariasATiscpif.fr'
,
...
...
@@ -46,6 +41,12 @@ def get_team():
'picture'
:
'samuel.jpg'
,
'role'
:
'developer'
},
{
'first_name'
:
'Alexandre'
,
'last_name'
:
'Delanoë'
,
'mail'
:
'alexandre+gargantextATdelanoe.org'
,
'website'
:
'http://alexandre.delanoe.org'
,
'picture'
:
'alexandre.jpg'
,
'role'
:
'principal investigator, developer'
},
#{ 'first_name' : '', 'name' : '', 'mail' : '', 'website' : '', 'picture' : ''},
# copy paste the line above and write your informations please
]
...
...
@@ -53,7 +54,7 @@ def get_team():
random
.
shuffle
(
team
)
return
(
team
)
def
get_
sponso
rs
():
def
get_
partne
rs
():
'''
Function to get list of each sponsor as dict of institutional informations.
...
...
@@ -61,13 +62,22 @@ def get_sponsors():
sponsors
=
[
{
'name'
:
'Mines ParisTech'
,
'website'
:
'http://mines-paristech.fr'
,
'picture'
:
'mines.png'
,
'funds'
:
''
},
{
'name'
:
'Institut Pasteur'
,
'website'
:
'http://www.pasteur.fr'
,
'picture'
:
'pasteur.png'
,
'funds'
:
''
},
{
'name'
:
'Forccast'
,
'website'
:
'http://forccast.hypotheses.org/'
,
'picture'
:
'forccast.png'
,
'funds'
:
''
},
{
'name'
:
'ADEME'
,
'website'
:
'http://www.ademe.fr'
,
'picture'
:
'ademe.png'
,
'funds'
:
''
},
{
'name'
:
'EHESS'
,
'website'
:
'http://www.ehess.fr'
,
'picture'
:
'ehess.png'
,
'funds'
:
''
},
#{ 'name' : '', 'website' : '', 'picture' : '', 'funds':''},
# copy paste the line above and write your informations please
]
grants
=
[
{
'name'
:
'Forccast'
,
'website'
:
'http://forccast.hypotheses.org/'
,
'picture'
:
'forccast.png'
,
'funds'
:
''
},
#{ 'name' : '', 'website' : '', 'picture' : '', 'funds':''},
# copy paste the line above and write your informations please
]
random
.
shuffle
(
sponsors
)
return
(
sponsors
)
#random.shuffle(grants)
return
(
sponsors
,
grants
)
This diff is collapsed.
Click to expand it.
gargantext_web/views.py
View file @
c9554213
...
...
@@ -164,13 +164,14 @@ def get_about(request):
date
=
datetime
.
datetime
.
now
()
members
=
about
.
get_team
()
sponsors
=
about
.
get_sponso
rs
()
sponsors
,
grants
=
about
.
get_partne
rs
()
html
=
template
.
render
(
Context
({
\
'user'
:
user
,
\
'date'
:
date
,
\
'team'
:
members
,
\
'sponsors'
:
sponsors
,
\
'grants'
:
grants
,
\
}))
return
HttpResponse
(
html
)
...
...
This diff is collapsed.
Click to expand it.
templates/about.html
View file @
c9554213
...
...
@@ -35,22 +35,26 @@
<div
class=
"panel-body"
>
<div
class=
"container"
>
<ul>
<li>
Version 1.0
</li>
<li>
Versions from 0.1 to 0.9
</li>
<ul>
<li>
[Start] Beta Version
</li>
<li>
[Law] Licence of Gargantext is GPL v3+
</li>
<li>
[NLP] NLTK, TreeTagger
</li>
<li>
[FEATURE] Graph Explorer
</li>
</ul>
<li>
Version 1.0.5
</li>
<li>
Versions from 1.0 to 1.9
</li>
<ul>
<li>
Bug resolution: [Import] xml zipped from Mac
</li>
<li>
Bug resolution: [Import] french accents in filenames
</li>
<li>
New features: [Advanced chart] ngrams completion
</li>
<li>
New features: [Duplicates management] button to delete all
duplicates
</li>
<li>
[Law] Licence of Gargantext is (and will be for next versions) AGPL
</li>
<li>
[NLP] Turbo Parser, TreeTagger
</li>
<li>
[FEATURE] Advanced Chart
</li>
<li>
[FEATURE] Remove
duplicates
</li>
</ul>
<li>
Version 1.0.6
</li>
<li>
Version 2.0
</li>
<ul>
<li>
Bug resolution: [Advanced chart] one can make comparisons with different corpora at different scales
</li>
<li>
Bug resolution: [Graph] Graph link can not be executed until workflow is finished.
</li>
<li>
[NLP] Turbo Parser, MELT
</li>
<li>
[FEATURE] Ngrams Table management
</li>
<li>
[FEATURE] Annotation local view
</li>
<li>
[FEATURE] Lexical Graph with temporal filter
</li>
<li>
[FEATURE] Graph bi-Partite
</li>
</ul>
</ul>
</div>
...
...
@@ -146,28 +150,39 @@
</div>
</div>
{% if sponsors %}
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<h2
class=
"panel-title"
>
<center>
<h2>
Sponsors
</h2>
<h2>
Institutional and financial support
</h2>
<h3>
Host institutions
</h3>
<a
href=
"http://www.cnrs.fr"
target=
"_blank"
>
<img
src=
"{% static "
img
/
sponsors
/
cnrs
.
png
"%}"
alt=
"CNRS"
style=
"height:100px"
>
</a>
<a
href=
"http://www.iscpif.fr"
target=
"_blank"
>
<img
src=
"{% static "
img
/
sponsors
/
iscpif
.
svg
"%}"
style=
"height:100px"
>
</a>
<a
href=
"http://cams.fr"
target=
"_blank"
>
<img
src=
"{% static "
img
/
sponsors
/
cams
.
jpg
"%}"
style=
"height:100px"
>
</a>
<h3>
Partners
</h3>
{% for sponsor in sponsors %}
<a
href=
"{{ sponsor.website }}"
target=
"_blank"
>
<img
src=
"{% static "
img
/
sponsors
/"%}{{
sponsor
.
picture
}}"
style=
"height:100px"
>
</a>
{% endfor %}
<h3>
Grants
</h3>
{% for grant in grants %}
<a
href=
"{{ grant.website }}"
target=
"_blank"
>
<img
src=
"{% static "
img
/
sponsors
/"%}{{
grant
.
picture
}}"
style=
"height:100px"
>
</a>
{% endfor %}
</center>
</div>
</div>
</div>
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
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