mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
url fix
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
{% extends "templates/web.html" %}
|
{% extends "templates/web.html" %}
|
||||||
|
|
||||||
{% macro show_section(members, with_img = True) %}
|
{% macro show_section(members, with_img = True, color=False) %}
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
{% for item in members %}
|
{% for item in members %}
|
||||||
<div class='col-sm-4 mb-4'>
|
<div class='col-sm-4 mb-4'>
|
||||||
<a href='{{ ("{}{}".format("" if item.website_url.startswith("http") else "//", item.website_url)) if item.website_url else "#" }}' target='_blank' class='card h-100'>
|
<a href='{{ ("{}{}".format("" if item.website_url.startswith("http") else "//", item.website_url)) if item.website_url else "#" }}' target='_blank' class='card h-100'>
|
||||||
{% if with_img %}
|
{% if with_img %}
|
||||||
<div class='square-img'>
|
<div class='square-img'>
|
||||||
<img class="greyscale"
|
<img class="{% if not color %}greyscale{% endif %}"
|
||||||
src="{{ item.image or "/assets/foundation/img/people/tux.png" }}"
|
src="{{ item.image or "/assets/foundation/img/people/tux.png" }}"
|
||||||
alt="{{ item.title }}">
|
alt="{{ item.title }}">
|
||||||
</div>
|
</div>
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="section-padding">
|
<section class="section-padding">
|
||||||
<h3 class="mb-5 text-center">Gold Members</h4>
|
<h3 class="mb-5 text-center">Gold Members</h4>
|
||||||
{{ show_section(gold_members) }}
|
{{ show_section(gold_members, color=True) }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="section-padding">
|
<section class="section-padding">
|
||||||
|
|||||||
Reference in New Issue
Block a user