Skip to content

Commit 3b6ff61

Browse files
authored
Merge pull request #283 from shbatm/fr_headers
[FR] Show header in Edit View menu, if set
2 parents 2322fbe + 0b9e04e commit 3b6ff61

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

remote.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ a {
125125
.text {
126126
flex: 1 1 auto;
127127
margin-left: 0.2em;
128+
white-space: nowrap;
129+
overflow: hidden;
130+
text-overflow: ellipsis;
131+
min-width: 0;
128132
}
129133

130134
.fa-angle-right {

remote.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,9 @@ var Remote = {
648648
var text = document.createElement("span");
649649
text.className = "text";
650650
text.innerHTML = " " + self.formatName(moduleData[i].name);
651+
if ("header" in moduleData[i]) {
652+
text.innerHTML += ` (${moduleData[i].header})`;
653+
}
651654
moduleBox.appendChild(text);
652655

653656
parent.appendChild(moduleBox);

0 commit comments

Comments
 (0)