mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #221 from openclassify/dia
#533 [fuardayim-theme] Alibaba design (listing + detail)
This commit is contained in:
commit
3ec5366828
@ -145,7 +145,7 @@ return [
|
||||
'offered_by' => 'Offered By',
|
||||
'more_ads_by' => 'More Ads By',
|
||||
'click_phone' => 'Show phone number',
|
||||
'share' => 'Share this ad',
|
||||
'share' => 'Share',
|
||||
'report' => 'Report this ad',
|
||||
'features' => 'Features',
|
||||
"streetview" => "Street View",
|
||||
|
||||
@ -1,13 +1,7 @@
|
||||
{% extends layout('ad-detail') %}
|
||||
|
||||
{% block ogdata %}
|
||||
<meta property="og:site_name"
|
||||
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
||||
<meta property="og:description" content="{{ adv.advs_desc|striptags|raw }}"/>
|
||||
<meta property="og:title" content="{{ adv.title }}"/>
|
||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||
<meta property="og:image" content="{{ adv.getViewPhotoUrl|first }}">
|
||||
<meta property="og:type" content="website"/>
|
||||
{% include "visiosoft.module.advs::ad-detail/partials/ogdata" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% if app.auth.id == adv.created_by_id %}
|
||||
<div class="breadcrumb bg-dark justify-content-end">
|
||||
<div class="breadcrumb bg-dark justify-content-end mt-3 mb-0">
|
||||
{{ addBlock('ad-detail/partials/author-button', {'adv_id': adv.id})|raw }}
|
||||
<a class="btn btn-info edit-adv-btn mr-2" href="/advs/edit_advs/{{ adv.id }}">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
<meta property="og:site_name"
|
||||
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
||||
<meta property="og:description" content="{{ adv.advs_desc|striptags|raw }}"/>
|
||||
<meta property="og:title" content="{{ adv.title }}"/>
|
||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||
<meta property="og:image" content="{{ adv.getViewPhotoUrl|first }}">
|
||||
<meta property="og:type" content="website"/>
|
||||
@ -1,6 +1,6 @@
|
||||
{% set adv = params.adv %}
|
||||
{% if setting_value('visiosoft.module.location::detail_page_location') %}
|
||||
<div class="col-md-12 m-2">
|
||||
<div class="col-md-12 m-2 location-container">
|
||||
<i class="fas fa-location-arrow text-primary"></i>
|
||||
{{ adv.city_name }}, {{ adv.country_name }}
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{% set profile = findUserProfile(params.adv.created_by_id) %}
|
||||
{% if profile.gsm_phone is not null %}
|
||||
<div class="col-md-12 m-2">
|
||||
<div class="col-md-12 m-2 number-container">
|
||||
<button class="btn btn-secondary w-100">
|
||||
<i class="fas fa-mobile hide-number text-warning"></i>
|
||||
<span class="hide-number">{{ profile.gsm_phone }}</span>
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if profile.office_phone is not empty %}
|
||||
<div class="col-md-12 m-2">
|
||||
<div class="col-md-12 m-2 number-container">
|
||||
<button class="btn btn-secondary w-100">
|
||||
<i class="fas fa-headset hide-number text-warning"></i>
|
||||
<span class="hide-number">{{ profile.office_phone }}</span>
|
||||
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if profile.land_phone is not empty %}
|
||||
<div class="col-md-12 m-2">
|
||||
<div class="col-md-12 m-2 number-container">
|
||||
<button class="btn btn-secondary w-100">
|
||||
<i class="fa fa-phone-square hide-number text-warning"></i>
|
||||
<span class="hide-number">{{ profile.land_phone }}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user