From b08d83b849b74bff22bbd61dbf349ae1d3331ba1 Mon Sep 17 00:00:00 2001 From: Dario Rekowski on RockPI Date: Fri, 20 Dec 2019 11:14:36 +0000 Subject: [PATCH] adding webp replacement --- src/Model/Table/StateUsersTable.php | 2 +- src/Template/Layout/frontend_ripple.ctp | 12 ++++++++++-- webroot/img/logo_half.png | Bin 0 -> 6832 bytes webroot/img/logo_schrift.png | Bin 0 -> 56626 bytes webroot/img/logo_schrift_half.png | Bin 0 -> 29213 bytes 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 webroot/img/logo_half.png create mode 100644 webroot/img/logo_schrift.png create mode 100644 webroot/img/logo_schrift_half.png diff --git a/src/Model/Table/StateUsersTable.php b/src/Model/Table/StateUsersTable.php index 387fa0697..1d645f34d 100644 --- a/src/Model/Table/StateUsersTable.php +++ b/src/Model/Table/StateUsersTable.php @@ -38,7 +38,7 @@ class StateUsersTable extends Table parent::initialize($config); $this->setTable('state_users'); - $this->setDisplayField('id'); + $this->setDisplayField('email'); $this->setPrimaryKey('id'); /*$this->belongsTo('Indices', [ diff --git a/src/Template/Layout/frontend_ripple.ctp b/src/Template/Layout/frontend_ripple.ctp index 52d0eb43a..136e81476 100644 --- a/src/Template/Layout/frontend_ripple.ctp +++ b/src/Template/Layout/frontend_ripple.ctp @@ -47,8 +47,16 @@ $GLOBALS["self"] = $this;