-
Notifications
You must be signed in to change notification settings - Fork 10
/
_footer.html.erb
83 lines (78 loc) · 3.23 KB
/
_footer.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<%= javascript_include_tag :footer_modal %>
<% I18n.with_locale(current_user.try(:locale)) do %>
<%# Sponsors modal %>
<div id="sponsors" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="Sponsors list modal" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content p-4">
<%= render partial: 'main/sponsors' %>
</div>
</div>
</div>
<%# Footbar %>
<div class="container-fluid p-3" id="footer-bar">
<div class="row">
<div class="col text-md-start">
<%= t('footer.text_html',
github: link_to('GitHub',
'https://github.com/MaMpf-HD/mampf',
target: :blank),
rails: link_to('Rails',
'http://rubyonrails.org/',
target: :_blank),
bootstrap: link_to('Bootstrap',
'https://getbootstrap.com/',
target: :_blank),
cytoscape: link_to('Cytoscape.js',
'https://js.cytoscape.org/',
target: :_blank),
nerdamer: link_to('Nerdamer',
'https://nerdamer.com',
target: :_blank),
katex: link_to('KaTeX',
'https://katex.org',
target: :_blank),
thredded: link_to('Thredded',
'https://github.com/thredded/thredded',
target: :_blank),
docker: link_to('Docker',
'https://www.docker.com/',
target: :_blank),
basecamp: link_to('Basecamp',
'https://basecamp.com/',
target: :_blank),
bugs: link_to(t('here'),
'https://github.com/MaMpf-HD/mampf/issues',
target: :_blank),
feedback: mail_to(DefaultSetting::FEEDBACK_EMAIL, nil),
background_photo_credit: link_to('Craig S. Kaplan',
'https://github.com/isohedral/hatviz',
target: :_blank)) %>
</div>
<div class="col text-md-end">
<a href="#sponsors" data-toggle="modal"
data-target="#sponsors"><%= t('basics.sponsors') %></a>
<span style="margin-left: 20px;"></span>
<a href="https://hse-heidelberg.de/"
target="_blank"
style="text-decoration: none">
<img src="/HD-HSE-Logo_RGB_210dpi.png" height="60" align="middle">
</a>
<a href="https://uni-heidelberg.de"
target="_blank">
<img src="/uni_hd_logo.png" height="60" align="middle"
style="margin-left: 20px;">
</a>
</div>
</div>
<div class="row">
<div class="col-sm text-center text-md-end">
<%= link_to t('disclosure'),
'https://www.uni-heidelberg.de/impressum.html',
target: :_blank, class:'me-2' %>
<%= link_to t('policy'),
'https://www.uni-heidelberg.de/datenschutzerklaerung_web.html',
target: :_blank %>
</div>
</div>
</div>
<% end %>