Merge pull request #16987 from mattwire/casemissingtranslation
[civicrm-core.git] / ang / crmAttachment / attachments.html
index 9f9ad37602eacdf4b9ce82a71020ebc8a903ed0b..1646ad546caf6a11bb39eab932f16bcd7e2c5a1d 100644 (file)
@@ -11,7 +11,7 @@
       </td>
       <td>
         <a
-          crm-icon="trash"
+          crm-icon="fa-trash"
           crm-confirm="{message: ts('Deleting an attachment will completely remove it from server.')}" on-yes="att.deleteFile(file)"
           title="{{ts('Delete attachment')}}"
           class="crm-hover-button">
@@ -27,7 +27,7 @@
         <!-- item.isReady item.isUploading item.isUploaded item.isSuccess item.isCancel item.isError -->
       </td>
       <td>
-        <a crm-icon="close" ng-click="item.remove()" class="crm-hover-button" title="{{ts('Remove unsaved attachment')}}"></a>
+        <a crm-icon="fa-times" ng-click="item.remove()" class="crm-hover-button" title="{{ts('Remove unsaved attachment')}}"></a>
       </td>
     </tr>
     </tbody>
@@ -42,5 +42,8 @@
   </div>
   <div>
     {{ts('Alternatively, you may add new files using drag/drop.')}}
+    <span ng-if="max_size">
+      {{ts('Each file must be less than %1M in size.', {1: max_size})}}
+    </span>
   </div>
 </div>