Fix import description

pull/2590/head
Rodrigo Nascimento 9 years ago
parent 75d30989d3
commit f1dd6ed9db
  1. 2
      packages/rocketchat-importer/client/admin/adminImport.coffee
  2. 2
      packages/rocketchat-importer/client/admin/adminImport.html

@ -3,7 +3,7 @@ Template.adminImport.helpers
return RocketChat.authz.hasRole(Meteor.userId(), 'admin')
isImporters: ->
return Object.keys(Importer.Importers).length > 0
description: ->
getDescription: (importer) ->
return TAPi18n.__('Importer_From_Description', { from: importer.name })
importers: ->
importers = []

@ -17,7 +17,7 @@
<div class="section">
<h1>{{name}}</h1>
<div class="section-content">
<div>{{description}}</div>
<div>{{getDescription .}}</div>
<button class="button start-import">Start</button>
</div>

Loading…
Cancel
Save