1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02:17 -05:00

[WO-629] Show correct folder name in mobile mail-list header and reader back button

This commit is contained in:
Tankred Hase 2014-11-04 21:17:03 +01:00
parent 5253680f86
commit 0c33f9070b
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<button class="btn-navicon"> <button class="btn-navicon">
<svg><use xlink:href="#icon-navicon" /><title>Toggle Navigation</title></svg> <svg><use xlink:href="#icon-navicon" /><title>Toggle Navigation</title></svg>
</button> </button>
<h2>{{state.nav.currentFolder.type}}</h2> <h2>{{state.nav.currentFolder.wellknown ? state.nav.currentFolder.type : state.nav.currentFolder.name}}</h2>
</div> </div>
<button class="btn-icon-light" title="New mail" wo-touch="state.writer.write(); $event.stopPropagation()"> <button class="btn-icon-light" title="New mail" wo-touch="state.writer.write(); $event.stopPropagation()">

View File

@ -7,7 +7,8 @@
<div class="read__folder-toolbar"> <div class="read__folder-toolbar">
<div class="toolbar"> <div class="toolbar">
<a class="toolbar__label" href="javascript:;" wo-touch="state.read.toggle(false)"> <a class="toolbar__label" href="javascript:;" wo-touch="state.read.toggle(false)">
<svg><use xlink:href="#icon-back" /><title>Back</title></svg> Folder name <svg><use xlink:href="#icon-back" /><title>Back</title></svg>
{{state.nav.currentFolder.wellknown ? state.nav.currentFolder.type : state.nav.currentFolder.name}}
</a> </a>
</div> </div>
</div> </div>