opportunity: nicer meetup creation confirmation
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 30 Oct 2014 12:05:16 +0000 (08:05 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 30 Oct 2014 17:20:40 +0000 (13:20 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/opportunity/src/templates/meetup_confirmation.nit

index 8ece01d..8771795 100644 (file)
@@ -27,18 +27,15 @@ class MeetupConfirmation
        init do
                body = """
                <div class="page-header">
-                       <center><h1>Congratulations !</h1></center>
+                       <center><h1>Your meetup was successfully created</h1></center>
                </div>
                <div class="container">
-               <p class="text-center">
-                       <h2> Your meetup was successfully created. </h2>
-                       <p>
-                       You can invite people to participate to your event by sharing them this link : <a href="./?meetup_id={{{meetup.id}}}">{{{meetup.name}}}</a>
+                       <div class="alert alert-success text-center" role="alert">
+                       Invite participants by sharing this link: <a href="./?meetup_id={{{meetup.id}}}">{{{meetup.name}}}</a>
+                       </div>
+                       <p class="text-center">
+                       See you soon for more Opportunities!
                        </p>
-                       <p>
-                       See you soon for more Opportunities !
-                       </p>
-               </p>
                </div>
                """
        end