Format File

This commit is contained in:
Silversthorn 2022-03-05 14:10:23 +01:00
parent 29f8fb391e
commit 1297eb3fbb

View File

@ -24,8 +24,7 @@
<div class="card"> <div class="card">
<div class="card-header header-sm d-flex justify-content-between align-items-center"> <div class="card-header header-sm d-flex justify-content-between align-items-center">
<h4 class="card-title"><i class="far fa-code"></i> &nbsp;{{ translate('credits', 'developmentTeam', <h4 class="card-title"><i class="far fa-code"></i> &nbsp;{{ translate('credits', 'developmentTeam', data['lang']) }}</h4>
data['lang']) }}</h4>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
@ -67,16 +66,14 @@
{% end %} {% end %}
{% if person['tags'][1] %} {% if person['tags'][1] %}
{% if type(person['tags'][1]) is list %} {% if type(person['tags'][1]) is list %}
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] <a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] }}</a>
}}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span> <span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
{% end %} {% end %}
{% end %} {% end %}
{% if person['tags'][2] %} {% if person['tags'][2] %}
{% if type(person['tags'][2]) is list %} {% if type(person['tags'][2]) is list %}
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ <a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2][0] }}</a>
person['tags'][2][0] }}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span> <span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
{% end %} {% end %}
@ -146,16 +143,14 @@
{% end %} {% end %}
{% if person['tags'][1] %} {% if person['tags'][1] %}
{% if type(person['tags'][1]) is list %} {% if type(person['tags'][1]) is list %}
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] <a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] }}</a>
}}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span> <span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
{% end %} {% end %}
{% end %} {% end %}
{% if person['tags'][2] %} {% if person['tags'][2] %}
{% if type(person['tags'][2]) is list %} {% if type(person['tags'][2]) is list %}
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ <a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2][0] }}</a>
person['tags'][2][0] }}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span> <span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
{% end %} {% end %}
@ -182,8 +177,7 @@
<div class="card"> <div class="card">
<div class="card-header header-sm d-flex justify-content-between align-items-center"> <div class="card-header header-sm d-flex justify-content-between align-items-center">
<h4 class="card-title"><i class="far fa-server"></i> &nbsp;{{ translate('credits', 'retiredStaff', <h4 class="card-title"><i class="far fa-server"></i> &nbsp;{{ translate('credits', 'retiredStaff', data['lang']) }}</h4>
data['lang']) }}</h4>
</div> </div>
<div class="card-body"> <div class="card-body">
@ -224,16 +218,14 @@
{% end %} {% end %}
{% if person['tags'][1] %} {% if person['tags'][1] %}
{% if type(person['tags'][1]) is list %} {% if type(person['tags'][1]) is list %}
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] <a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0] }}</a>
}}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span> <span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
{% end %} {% end %}
{% end %} {% end %}
{% if person['tags'][2] %} {% if person['tags'][2] %}
{% if type(person['tags'][2]) is list %} {% if type(person['tags'][2]) is list %}
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ <a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2][0] }}</a>
person['tags'][2][0] }}</a>
{% else %} {% else %}
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span> <span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
{% end %} {% end %}
@ -269,11 +261,7 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<p class="card-description"> {{ translate('credits', 'hugeDesc', data['lang']) }} <p class="card-description"> {{ translate('credits', 'hugeDesc', data['lang']) }}
<code>{{ translate('credits', 'thankYou', data['lang']) }}</code>&nbsp; {{ translate('credits', <code>{{ translate('credits', 'thankYou', data['lang']) }}</code>&nbsp; {{ translate('credits', 'patreonDesc', data['lang']) }} | <span style="color: #9365B8">{{ translate('credits', 'patreonUpdate', data['lang']) }} {{ data["lastUpdate"] }}</span>
'patreonDesc',
data['lang']) }} | <span style="color: #9365B8">{{ translate('credits', 'patreonUpdate', data['lang']) }}
{{
data["lastUpdate"] }}</span>
</p> </p>
<table class="table table-hover"> <table class="table table-hover">
<thead> <thead>
@ -288,18 +276,13 @@
<td>{{ pat["name"] }}</td> <td>{{ pat["name"] }}</td>
<td> <td>
{% if pat["level"] == "Crafty Sustainer" %} {% if pat["level"] == "Crafty Sustainer" %}
<span class="btn btn-sm btn-info mr-2">{{ translate('credits', 'patreonSustainer', data['lang']) <span class="btn btn-sm btn-info mr-2">{{ translate('credits', 'patreonSustainer', data['lang']) }}</span>
}}</span>
{% elif pat["level"] == "Crafty Advocate" %} {% elif pat["level"] == "Crafty Advocate" %}
<span class="btn btn-sm btn-primary mr-2">{{ translate('credits', 'patreonAdvocate', data['lang']) <span class="btn btn-sm btn-primary mr-2">{{ translate('credits', 'patreonAdvocate', data['lang']) }}</span>
}}</span>
{% elif pat["level"] == "Crafty Supporter" %} {% elif pat["level"] == "Crafty Supporter" %}
<span class="btn btn-sm btn-inverse-success mr-2">{{ translate('credits', 'patreonSubs', <span class="btn btn-sm btn-inverse-success mr-2">{{ translate('credits', 'patreonSubs', data['lang']) }}</span>
data['lang'])
}}</span>
{% else %} {% else %}
<span class="btn btn-sm btn-secondary mr-2">{{ translate('credits', 'patreonOther', data['lang']) <span class="btn btn-sm btn-secondary mr-2">{{ translate('credits', 'patreonOther', data['lang']) }}</span>
}}</span>
{% end %} {% end %}
</td> </td>
</tr> </tr>
@ -314,14 +297,11 @@
<div class="col-lg-6 grid-margin stretch-card"> <div class="col-lg-6 grid-margin stretch-card">
<div class="card"> <div class="card">
<div class="card-header header-sm d-flex justify-content-between align-items-center"> <div class="card-header header-sm d-flex justify-content-between align-items-center">
<h4 class="card-title"><i class="far fa-language"></i> {{ translate('credits', 'translationTitle', <h4 class="card-title"><i class="far fa-language"></i> {{ translate('credits', 'translationTitle', data['lang']) }}</h4>
data['lang'])
}}</h4>
</div> </div>
<div class="card-body"> <div class="card-body">
<p class="card-text"> {{ translate('credits', 'hugeDesc', data['lang']) }} <p class="card-text"> {{ translate('credits', 'hugeDesc', data['lang']) }}
<code>{{ translate('credits', 'thankYou', data['lang']) }}</code>&nbsp; {{ translate('credits', <code>{{ translate('credits', 'thankYou', data['lang']) }}</code>&nbsp; {{ translate('credits', 'translationDesc', data['lang']) }}
'translationDesc', data['lang']) }}
</p> </p>
<table class="table table-hover"> <table class="table table-hover">
<thead> <thead>