Closed jeffse closed 8 years ago
I wanted to be able to use the display_flash_messages but found the close buttons to be not quite right for my project. This adds the 'closable' option to the method.
Thanks, looks good.
Hi @jeffse - the foundation-6 branch has been cleaned up a bit - could you rebase on top of it?
Context: here are the docs: http://foundation.zurb.com/sites/docs/close-button.html
Thanks for your git help, @dgmstuart! I'm still a relative newbie to git, but I think I was able to finally resolve everything here.
I changed display_flash_messages to use keyword arguments, and added some documentation in the comments of the method at least.
@jeffse looks like we're getting closer, but there are now 26 commits on this branch - most of which are previous commits by other people. We need this branch to ONLY contain your commits which are for this feature - I think it's only these two:
...and actually you're probably better off squashing those two into one.
The step in my instructions which is supposed to get rid of all the other commits is this one, during the rebase:
You'll want to delete all of the lines except the ones relating to commits which you've created
did you try that?
@jeffse actually it looks like your master
and foundation-6
branches are way behind the ones on this repo - you'll need to follow my instructions from the beginning to get them up-to-date.
I already spent two hours doing a bunch of manual merges from what I thought were correct. I really think it's better for me to trash this branch, fork off a brand-new copy, and make my changes there.
@jeffse sorry to hear that. Best of luck with your new branch.
Adding the optional keyword option 'closable' to the display_flash_messages method that accepts a boolean true/false, defaulting to true. If false, suppresses the close buttons on the callouts.