The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/ui-utils/client/lib/alerts.html

29 lines
777 B

<template name="alerts">
<div class="rc-alerts {{modifiers}} {{customclass}}" data-popover="popover">
{{#if icon}}
<div class="rc-alerts__big-icon rc-alerts__icon {{hasAction}} js-action">
{{> icon icon=icon }}
</div>
{{/if}}
<div class="rc-alerts__content {{hasAction}} js-action">
{{#if template}}
{{> Template.dynamic template=template data=data}}
{{else}}
{{#if title}}
<div class="rc-alerts__title">
{{title}}
</div>
{{/if}}
<div class="rc-alerts__line">
{{text}}
</div>
{{{html}}}
{{/if}}
</div>
{{#if closable}}
<div class="rc-alerts__icon js-close" aria-label="{{_ "Close"}}">
{{> icon block="rc-alerts__icon rc-alerts__icon--close" icon='plus'}}
</div>
{{/if}}
</div>
</template>