mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#876 Can't upload profile photo
This commit is contained in:
parent
cf6c24c2f9
commit
b8444f31d1
@ -2,4 +2,9 @@
|
|||||||
background-color: #343a40 !important;
|
background-color: #343a40 !important;
|
||||||
border-color: #343a40 #343a40 #343a40;
|
border-color: #343a40 #343a40 #343a40;
|
||||||
color: white!important;
|
color: white!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide profile upload table */
|
||||||
|
.selected.file-rows-table table td:first-child ~ td {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
@ -1,10 +1,11 @@
|
|||||||
{% extends "theme::layouts/default" %}
|
{% extends "theme::layouts/default" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% if profile_photo == "" %}
|
{% set profile_photo = profiles.file %}
|
||||||
{% set profile_photo = img('visiosoft.module.profile::images/profile-default.png').url %}
|
{% if profile_photo %}
|
||||||
|
{% set profile_photo = file(profile_photo.id).url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set profile_photo = profiles.file.url %}
|
{% set profile_photo = img('visiosoft.module.profile::images/profile-default.png').url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -122,10 +123,6 @@
|
|||||||
</label>
|
</label>
|
||||||
{{ profileForm.fields.land_phone.input|raw }}
|
{{ profileForm.fields.land_phone.input|raw }}
|
||||||
</div>
|
</div>
|
||||||
<div class=" form-group">
|
|
||||||
<label class="control-label font-weight-bold">{{ trans("visiosoft.module.profile::field.adv_listing_banner.name") }}</label>
|
|
||||||
{{ profileForm.fields.adv_listing_banner.input|raw }}
|
|
||||||
</div>
|
|
||||||
<div class=" form-group">
|
<div class=" form-group">
|
||||||
<label class="control-label font-weight-bold">{{ trans("visiosoft.module.profile::field.identification_number.name") }}</label>
|
<label class="control-label font-weight-bold">{{ trans("visiosoft.module.profile::field.identification_number.name") }}</label>
|
||||||
{{ profileForm.fields.identification_number.input|raw }}
|
{{ profileForm.fields.identification_number.input|raw }}
|
||||||
|
|||||||
@ -39,4 +39,4 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user