mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	balance on a second line
This commit is contained in:
		@@ -81,14 +81,13 @@ function displayNote(note, alias, user_note_field=null, profile_pic_field=null)
 | 
			
		||||
    if (!note.display_image) {
 | 
			
		||||
        note.display_image = '/media/pic/default.png';
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    let img = note.display_image;
 | 
			
		||||
    if (alias !== note.name)
 | 
			
		||||
        alias += " (aka. " + note.name + ")";
 | 
			
		||||
    if (user_note_field !== null)
 | 
			
		||||
        
 | 
			
		||||
        $("#" + user_note_field).addClass(displayStyle(note.balance));
 | 
			
		||||
        $("#" + user_note_field).text(alias + (note.balance == null ? "" : (" : " + pretty_money(note.balance))));
 | 
			
		||||
        $("#" + user_note_field).text(alias + (note.balance == null ? "" : (":\n" + pretty_money(note.balance))));
 | 
			
		||||
    if (profile_pic_field != null){
 | 
			
		||||
        $("#" + profile_pic_field).attr('src', img);
 | 
			
		||||
        $("#" + profile_pic_field).click(function(){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user