Put system links first, then separate with a vertical ellipsis.
@@ -534,24 +534,24 @@ papplClientHTMLHeader(
" <div class=\"col-12 nav\">\n"
" <a class=\"btn\" href=\"/\"><img src=\"/navicon.png\"></a>\n");
+ pthread_rwlock_rdlock(&system->rwlock);
+
+ _papplClientHTMLPutLinks(client, system->links);
+
+ pthread_rwlock_unlock(&system->rwlock);
+
if (!(system->options & PAPPL_SOPTIONS_MULTI_QUEUE) && printer)
{
+ if (cupsArrayCount(system->links) > 0)
+ papplClientHTMLPuts(client, " &vellip;\n");
+
pthread_rwlock_rdlock(&printer->rwlock);
_papplClientHTMLPutLinks(client, printer->links);
pthread_rwlock_unlock(&printer->rwlock);
-
- if (cupsArrayCount(system->links) > 0)
- papplClientHTMLPuts(client, " <span class=\"active\">|</span>\n");
}
- pthread_rwlock_rdlock(&system->rwlock);
-
- _papplClientHTMLPutLinks(client, system->links);
-
- pthread_rwlock_unlock(&system->rwlock);
-
papplClientHTMLPuts(client,
" </div>\n"
" </div>\n"
