equal
deleted
inserted
replaced
171 out = out + "<li>" + tr("Other people") + "</li>" + "\n"; |
171 out = out + "<li>" + tr("Other people") + "</li>" + "\n"; |
172 } |
172 } |
173 else if(type == "E") |
173 else if(type == "E") |
174 { |
174 { |
175 QString showName = QString(""); |
175 QString showName = QString(""); |
|
176 if(!name.isEmpty()) |
|
177 name = "<span class=\"name\">"+name+"</span>"; |
|
178 if(!nick.isEmpty()) |
|
179 nick= "<span class=\"nick\">"+nick+"</span>"; |
176 if(!name.isEmpty() && !nick.isEmpty()) |
180 if(!name.isEmpty() && !nick.isEmpty()) |
177 showName = tr("%1 (alias %2)").arg(name).arg(nick); |
181 showName = tr("%1 (alias %2)").arg(name).arg(nick); |
178 else if(name.isEmpty() && !nick.isEmpty()) |
182 else if(name.isEmpty() && !nick.isEmpty()) |
179 showName = nick; |
183 showName = nick; |
180 else if(!name.isEmpty() && nick.isEmpty()) |
184 else if(!name.isEmpty() && nick.isEmpty()) |
286 "<title>Hedgewars Credits</title>" |
290 "<title>Hedgewars Credits</title>" |
287 "<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\" />" |
291 "<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\" />" |
288 "<style type=\"text/css\">" |
292 "<style type=\"text/css\">" |
289 " body { color: orange; }" |
293 " body { color: orange; }" |
290 " a { color: #ffe270; }" |
294 " a { color: #ffe270; }" |
291 " a:hover { color: yellow; }" |
|
292 " ul { list-style-type: none; }" |
295 " ul { list-style-type: none; }" |
|
296 " .name { color: #ffffff; font-weight: bold; }" |
|
297 " .nick { color: #00ff00; font-weight: bold; }" |
293 "</style>" |
298 "</style>" |
294 "</head>" |
299 "</head>" |
295 "<body>" |
300 "<body>" |
296 ""; |
301 ""; |
297 QString footer = |
302 QString footer = |