chore: class selectors for customizability (#30185)

* Update project_row.html

Really helpful those fields has own class when styling for mobile or desktop by using Website Settings --> HTML Header, Robots and Redirects

* chore: skewercase
This commit is contained in:
Sam 2022-04-07 16:57:27 +03:00 committed by GitHub
parent 0562eb5f56
commit 8fbfba4f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
{% if doc.status == "Open" %}
<div class="web-list-item transaction-list-item">
<div class="row">
<div class="col-xs-2">
<div class="col-xs-2 project-link">
<a class="transaction-item-link" href="/projects?project={{ doc.name | urlencode }}">Link</a>
{{ doc.name }}
</div>
<div class="col-xs-2">
<div class="col-xs-2 project-name">
{{ doc.project_name }}
</div>
<div class="col-xs-3 text-center">
@ -25,7 +25,7 @@
</div>
{% if doc["_assign"] %}
{% set assigned_users = json.loads(doc["_assign"])%}
<div class="col-xs-2">
<div class="col-xs-2 project-users">
{% for user in assigned_users %}
{% set user_details = frappe
.db
@ -46,7 +46,7 @@
{% endfor %}
</div>
{% endif %}
<div class="col-xs-3 text-right small text-muted">
<div class="col-xs-3 text-right small text-muted project-modified-on">
{{ frappe.utils.pretty_date(doc.modified) }}
</div>
</div>