Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lego
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Web
lego
Commits
f758bc83
Commit
f758bc83
authored
4 years ago
by
Antonela
Browse files
Options
Downloads
Patches
Plain Diff
Update banner with match
parent
fcaedb91
No related branches found
No related tags found
1 merge request
!9
Update banner with match
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/header.html
+6
-1
6 additions, 1 deletion
templates/header.html
with
6 additions
and
1 deletion
templates/header.html
+
6
−
1
View file @
f758bc83
...
...
@@ -7,7 +7,7 @@
{% if this.color == 'primary' %}
<div
class=
"container bg-primary pt-1 pt-sm-0"
>
{% else %}
<div
class=
"container {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}git
pt-5
"
>
<div
class=
"container {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}git
py-4
"
>
{% endif %}
<div
class=
"row"
>
{% if this.html == 'donate-form.html' and this.header_image|length %}
...
...
@@ -17,6 +17,11 @@
{% set idx = this.header_image.index(".png") %}
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
<img
src=
"{{ header_mobile | asseturl }}"
class=
"donate-header-image-mobile img-fluid"
/>
<div
class=
"text-center py-3"
>
<a
href=
"https://blog.torproject.org/friends-of-tor-match-2020"
target=
"_blank"
title=
"Friends of Tor"
class=
"match"
>
{{ _('Your donation will be matched by Friends of Tor.') }}
</a>
</div>
</div>
{% else %}
<div
class=
"col-12 content-center pt-5"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment