Ver código fonte

[Administration] Support : amélioration messages pour feedback producteurs

feature/souke
Guillaume Bourgeois 1 ano atrás
pai
commit
3d1608e5cb
4 arquivos alterados com 44 adições e 22 exclusões
  1. +8
    -13
      backend/views/development/index.php
  2. +16
    -4
      backend/views/support/index.php
  3. +12
    -4
      backend/web/css/screen.css
  4. +8
    -1
      backend/web/sass/support/_index.scss

+ 8
- 13
backend/views/development/index.php Ver arquivo

@@ -74,19 +74,14 @@ $this->addBreadcrumb($this->getTitle());
<h3 class="panel-title">Participer</h3>
</div>
<div class="panel-body">
<p>Le logiciel Opendistrib se construit pour et avec vous. Toutes vos suggestions et remontées
de bugs sont les bienvenues et forment le terreau des versions futures !</p>
<p>Pour me contacter :</p>
<ul class="contacts">
<li>
<span class="glyphicon glyphicon-earphone"></span>
<p><?= Html::a('Prendre rendez-vous', Yii::$app->parameterBag->get('appointmentUrl'), ['class' => '', 'target' => '_blank']); ?></p>
</li>
<li>
<span class="glyphicon glyphicon-envelope"></span>
<p><a href="mailto:contact@opendistrib.net">M'envoyer un message</a></p>
</li>
</ul>
<p>Le logiciel Opendistrib se construit pour et avec vous. Toutes vos remarques, suggestions et remontées
de bugs sont les bienvenues et forment le terreau des versions futures.</p>
<p>
<a class="btn btn-default" href="<?= $this->getUrlManagerBackend()->createUrl(['support/index']); ?>">
<span class="glyphicon glyphicon-comment"></span>
Me contacter
</a>
</p>
</div>
</div>
</div>

+ 16
- 4
backend/views/support/index.php Ver arquivo

@@ -43,15 +43,19 @@ use yii\grid\GridView;

$ticketManager = TicketManager::getInstance();
$userCurrent = $this->getUserCurrent();
$this->setTitle('Support');
$this->setTitle('Support & contact');
$this->addBreadcrumb($this->getTitle());

?>

<div class="support-index">
<?php if($context == 'producer'): ?>

<div class="callout callout-info">
<p><i class="icon fa fa-info-circle"></i> Pour toutes vos remarques, suggestions et remontées de bugs.</p>
</div>
<div>
<div class="col-md-4">
<div class="col-md-6 col-left">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-phone"></i></span>
<div class="info-box-content">
@@ -63,7 +67,7 @@ $this->addBreadcrumb($this->getTitle());
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-6 col-right">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-calendar"></i></span>
<div class="info-box-content">
@@ -73,7 +77,7 @@ $this->addBreadcrumb($this->getTitle());
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-6 col-left">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-comments"></i></span>
<div class="info-box-content">
@@ -81,6 +85,14 @@ $this->addBreadcrumb($this->getTitle());
</div>
</div>
</div>
<div class="col-md-6 col-right">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-envelope"></i></span>
<div class="info-box-content">
<span class="info-box-text"><br/><?= Html::a("M'envoyer un email", 'mailto:'.Yii::$app->parameterBag->get('adminEmail'), ['class' => 'btn btn-sm btn-default']); ?></span>
</div>
</div>
</div>
</div>
<div class="clr"></div>
<?php endif; ?>

+ 12
- 4
backend/web/css/screen.css Ver arquivo

@@ -2695,24 +2695,32 @@ termes.
padding-left: 25px;
}

/* line 6, ../sass/support/_index.scss */
/* line 4, ../sass/support/_index.scss */
.support-index .col-left {
padding-left: 0px;
}
/* line 7, ../sass/support/_index.scss */
.support-index .col-right {
padding-right: 0px;
}
/* line 13, ../sass/support/_index.scss */
.support-index .ticket-list .nav-tabs .label {
position: relative;
top: -2px;
left: 2px;
padding: 0.3em 0.6em 0.2em 0.6em;
}
/* line 15, ../sass/support/_index.scss */
/* line 22, ../sass/support/_index.scss */
.support-index .ticket-list .table .filters {
display: none;
}
/* line 19, ../sass/support/_index.scss */
/* line 26, ../sass/support/_index.scss */
.support-index .ticket-list .table .td-created-at,
.support-index .ticket-list .table .td-last-message,
.support-index .ticket-list .table .td-messages {
width: 100px;
}
/* line 24, ../sass/support/_index.scss */
/* line 31, ../sass/support/_index.scss */
.support-index .ticket-list .table .td-producer {
width: 200px;
}

+ 8
- 1
backend/web/sass/support/_index.scss Ver arquivo

@@ -1,7 +1,14 @@

.support-index {
.ticket-list {

.col-left {
padding-left: 0px;
}
.col-right {
padding-right: 0px;
}

.ticket-list {
.nav-tabs {
.label {
position: relative;

Carregando…
Cancelar
Salvar