2014-08-08 00:02:35 +08:00
|
|
|
<template name="makeButton">
|
2015-07-04 03:48:05 +08:00
|
|
|
<button type="submit" id="{{id}}" class="btn {{btn_class}}" {{isDisabled}} rel="{{rel}}" data-placement="{{data_placement}}" title="{{title}}" style="{{style}}">
|
|
|
|
{{#if notification}}
|
|
|
|
{{#if hasGotUnreadMail notification }}
|
|
|
|
<div class="unreadChat"></div>
|
2015-05-12 23:48:43 +08:00
|
|
|
{{/if}}
|
2015-07-04 03:48:05 +08:00
|
|
|
{{/if}}
|
|
|
|
{{#if i_class}}
|
|
|
|
<i class="{{i_class}}"></i>
|
|
|
|
{{/if}}
|
|
|
|
{{#if label}}
|
|
|
|
<span>{{label}}</span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if span}}
|
|
|
|
<span></span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
2014-08-08 00:02:35 +08:00
|
|
|
</template>
|