| | @@ -54,11 +54,12 @@ |
| 54 | 54 | const self = this; |
| 55 | 55 | F.fetch('fileedit',{ |
| 56 | 56 | urlParams:'ajax=filelist&leaves', |
| 57 | 57 | responseType: 'json', |
| 58 | 58 | onload: function(list){ |
| 59 | | - D.append(D.clearElement(self.e.ciListLabel),"Open leaves:"); |
| 59 | + D.append(D.clearElement(self.e.ciListLabel), |
| 60 | + "Open leaves (newest first):"); |
| 60 | 61 | self.cache.checkins = list; |
| 61 | 62 | D.clearElement(D.enable(self.e.selectCi)); |
| 62 | 63 | let loadThisOne; |
| 63 | 64 | list.forEach(function(o,n){ |
| 64 | 65 | if(!n) loadThisOne = o; |
| | @@ -87,13 +88,17 @@ |
| 87 | 88 | const onload = (response)=>{ |
| 88 | 89 | D.clearElement(selFiles, this.e.btnLoadFile); |
| 89 | 90 | D.append( |
| 90 | 91 | D.clearElement(this.e.fileListLabel), |
| 91 | 92 | "Editable files for ", |
| 92 | | - D.a(F.repoUrl('timeline',{ |
| 93 | | - c: ciUuid |
| 94 | | - }), F.hashDigits(ciUuid)) |
| 93 | + D.append( |
| 94 | + D.code(), |
| 95 | + D.a(F.repoUrl('timeline',{ |
| 96 | + c: ciUuid |
| 97 | + }), F.hashDigits(ciUuid)), |
| 98 | + ), |
| 99 | + ":" |
| 95 | 100 | ); |
| 96 | 101 | this.cache.files[response.checkin] = response; |
| 97 | 102 | response.editableFiles.forEach(function(fn,n){ |
| 98 | 103 | D.option(selFiles, fn); |
| 99 | 104 | }); |
| | @@ -474,13 +479,11 @@ |
| 474 | 479 | filename: this.finfo.filename, |
| 475 | 480 | checkin: rUrl |
| 476 | 481 | },false,true); |
| 477 | 482 | const purl = F.repoUrl('fileedit',purlArgs); |
| 478 | 483 | D.append( |
| 479 | | - eTgt, |
| 480 | | - "Permalink: ", |
| 481 | | - D.append(D.code(),D.a(purl,true)) |
| 484 | + eTgt,"[",D.a(purl,"Editor permalink"),"]" |
| 482 | 485 | ); |
| 483 | 486 | return this; |
| 484 | 487 | }; |
| 485 | 488 | |
| 486 | 489 | /** |
| 487 | 490 | |