Skip to content
Snippets Groups Projects
Commit 206081fa authored by Mark M. Florida's avatar Mark M. Florida
Browse files

Merge branch 'master' of https://bitbucket.org/xnatdev/xnat-web

parents 7a9359cc 50705266
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,13 @@ $!template.setLayoutTemplate("DefaultExptList.vm") ...@@ -25,7 +25,13 @@ $!template.setLayoutTemplate("DefaultExptList.vm")
##} ##}
##</script> ##</script>
#if ($data.message) #if ($data.message)
<div class="error">$data.message</div><br> <div class="success" id="xdatMessage">$data.message</div><br>
<script>
var xdatMessage = "$data.message".toLowerCase();
if (xdatMessage.indexOf('fail') > -1) {
$('#xdatMessage').removeClass('success').addClass('error');
}
</script>
#end #end
#parse("/screens/admin_bar.vm") #parse("/screens/admin_bar.vm")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment