changeset 7095:53df5d6f0862

pullrequest: make the explaining message for 'Next iteration' a alert-info ...for better visibility. Also remove obsolete 'msg-div' class.
author domruf <dominikruf@gmail.com>
date Wed, 12 Jul 2017 19:45:53 +0200
parents 2d8f2a419edb
children f4dc6962f467
files kallithea/templates/pullrequests/pullrequest_show.html
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/pullrequests/pullrequest_show.html	Sun Nov 05 19:25:51 2017 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_show.html	Wed Jul 12 19:45:53 2017 +0200
@@ -146,7 +146,7 @@
         <div class="form-group">
           <label>${_('Next iteration')}:</label>
             <div>
-              <div class="msg-div">${c.update_msg}</div>
+              <p>${c.update_msg}</p>
               %if c.avail_revs:
               <div id="updaterevs" class="clearfix">
                 <div id="updaterevs-graph">
@@ -185,9 +185,11 @@
                   %endfor
                 </table>
               </div>
-              <div class="msg-div">(${_("Pull request iterations do not change content once created. Select a revision and save to make a new iteration.")})</div>
+              <div class="alert alert-info">${_("Pull request iterations do not change content once created. Select a revision to create a new iteration.")}</div>
               %endif
-              <div class="msg-div">${c.update_msg_other}</div>
+              %if c.update_msg_other:
+                <div class="alert alert-info">${c.update_msg_other}</div>
+              %endif
             </div>
         </div>
         %if editable: