Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to properly display the info with carriage returns?
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01634462
Message ID:
01634509
Views:
24
This worked nicely without any replacements needed:
 <div class="alert alert-danger" ng-show="alertType === 'serverError'">
                <button type="button" class="close" ng-click="alertType=''" data-dismiss="!alertType==='serverError'">
                <span aria-hidden="true">×</span><span class="sr-only">@Labels.close</span></button>
                <i class="fa fa-exclamation-circle fa-2x"></i>
                < pre >{{ alertMessage }}< /pre >
            </div>
The only thing missing is the white background of a pre instead of the red. I'll try applying the same alert class on the pre and re-test.

UPDATE. This is how it looks now and I like it. The other missing thing is the ability to resize and move the modal form.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform