You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2013/08/23 03:19:57 UTC

[17/35] git commit: Use the Glyphicon "remove" for the "Dismiss All" button

Use the Glyphicon "remove" for the "Dismiss All" button


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/d534be71
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/d534be71
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/d534be71

Branch: refs/heads/master
Commit: d534be71b97cbabdcdffdca373a2dd636780abb0
Parents: 3f92d1f
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Aug 22 16:12:47 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Aug 22 16:12:47 2013 -0700

----------------------------------------------------------------------
 .../main/coffeescript/META-INF/modules/t5/core/alert.coffee    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d534be71/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee
index 12de2ae..40af15f 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/alert.coffee
@@ -16,8 +16,8 @@
 #
 # Support for the core/Alerts components.
 #
-define ["./dom", "./console", "./messages", "./ajax", "underscore"],
-  (dom, console, messages, ajax, _) ->
+define ["./dom", "./console", "./messages", "./ajax", "underscore", "./bootstrap"],
+  (dom, console, messages, ajax, _, {glyph}) ->
 
     severityToClass =
       info: "alert-info"
@@ -68,7 +68,7 @@ define ["./dom", "./console", "./messages", "./ajax", "underscore"],
         outer.append """
          <div class="btn-group-xs pull-right">
             <button class="btn btn-mini btn-default" data-action="dismiss-all">
-              <strong>&times;</strong>
+              #{glyph "remove"}
               #{messages "core-dismiss-label"}
             </button>
           </div>