 
             if $scope.showDeprecatedAttachments
                 target.find("span.text").html("- hide deprecated attachments") # TODO: i18n
+                                        .prop("title", "hide deprecated attachments") # TODO: i18n
                 $el.find("div.single-attachment.deprecated").removeClass("hidden")
             else
                 target.find("span.text").html("+ show deprecated attachments") # TODO: i18n
+                                        .prop("title", "show deprecated attachments") # TODO: i18n
                 $el.find("div.single-attachment.deprecated").addClass("hidden")
 
         ## On destroy

            newIsDeprecated = $el.find("input[name='is-deprecated']").prop("checked")

            if newDescription != attachment.description
                attachment.setAttr("description", newDescription)
            if newIsDeprecated != attachment.is_deprecated
                attachment.setAttr("is_deprecated", newIsDeprecated)

            onSuccess = ->
                $ctrl.loadAttachments(attachment.object_id)

    <a class="editable icon icon-delete" href="" title="Cancel"></a>
    """) # TODO: i18n

    link = ($scope, $el, $attrs) ->
        $ctrl = $el.controller()

        render = (attachment, isEditable=false) ->
