mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Updated text colour lighter grey for “Service Provider” view of Gold and Silver Member’s placeholder block.
This commit is contained in:
@@ -254,37 +254,6 @@
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_bulk_edit": 0,
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"columns": 0,
|
||||
"fieldname": "comments",
|
||||
"fieldtype": "Table",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_global_search": 0,
|
||||
"in_list_view": 0,
|
||||
"in_standard_filter": 0,
|
||||
"label": "Comments",
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"options": "Chapter Comments",
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"remember_last_selected_value": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
}
|
||||
],
|
||||
"has_web_view": 1,
|
||||
@@ -298,7 +267,7 @@
|
||||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2017-05-10 16:33:43.490022",
|
||||
"modified": "2017-05-11 12:54:19.260083",
|
||||
"modified_by": "Administrator",
|
||||
"module": "ERPNext Foundation",
|
||||
"name": "Chapter",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{% macro gold_member(m) %}
|
||||
<div class='gold-member'>
|
||||
<div class="media with-border clickable" style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
||||
<div class="media with-border clickable {% if m.placeholder == True %} text-muted {% endif %}" style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
||||
<div class="media-left">
|
||||
<a href="{{ m.route }}">
|
||||
<img class="media-object" src="{{ m.image or '/assets/foundation/img/gold.png' }}"
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
{% macro silver_member(m) %}
|
||||
<div class='col-sm-4'>
|
||||
<div class='silver-member with-border clickable' style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
||||
<div class="silver-member with-border clickable {% if m.placeholder == True %} text-muted {% endif %}" style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
||||
<h4>{{ m.title }}</h4>
|
||||
<p><span class=label>Silver Member</span></p>
|
||||
<p>{{ m.introduction[:100] }}</p>
|
||||
|
||||
@@ -27,7 +27,8 @@ def get_context(context):
|
||||
title='Your Company',
|
||||
introduction='Become a Gold Member today and get your company featured here',
|
||||
image='/assets/foundation/img/gold.png',
|
||||
route='/members'
|
||||
route='/members',
|
||||
placeholder=True
|
||||
))
|
||||
|
||||
context.silver_members = []
|
||||
@@ -43,7 +44,8 @@ def get_context(context):
|
||||
title='Your Company',
|
||||
introduction='Become a Silver Member today and get your company featured here',
|
||||
image='/assets/foundation/img/silver.png',
|
||||
route='/members'
|
||||
route='/members',
|
||||
placeholder=True
|
||||
))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user