Skip to content
Snippets Groups Projects
Commit e4b6f940 authored by Albertus Djauhari Djohan's avatar Albertus Djauhari Djohan
Browse files

Add link to chat

parent 5551f6cd
Branches
1 merge request!2Message System
......@@ -15,7 +15,7 @@
<div class = "chat-search">
<form action='' name='searchForm' id="searchForm" method="GET">
<input type="text" name="email" id="email" placeholder="Search name" class="search-name">
<input type="submit" class="search-button">
<input type="submit" value="Search" class="search-button">
</form>
</div>
<div id="chatlist" class="chat-list">
......
......@@ -22,7 +22,7 @@
<input id="sender" type="hidden" value="<?= $email ?>">
<input id="receiver" type="hidden" value="<?= $_GET['email'] ?>">
<input id="message" type="text" name="chattext" class="message-content" onkeypress="send2(event)">
<input id="send" type="submit" class="send-button" onclick="send()">
<input id="send" type="submit" class="send-button" onclick="send()" value="Send">
</div>
</div>
</div>
......
......@@ -15,6 +15,7 @@ $welcomeMessage = $block->getWelcome();
case 'welcome': ?>
<li class="greet welcome" data-bind="scope: 'customer'">
<!-- ko if: customer().fullname -->
<a href="./messaging/index/index">Chat |</a>
<span data-bind="text: new String('<?= $block->escapeHtml(__('Welcome, %1!', '%1')) ?>').replace('%1', customer().fullname)">
</span>
<!-- /ko -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment