Monorepo for Tangled tangled.org

appview: pages/templates: fix up copy

authored by anirudh.fi and committed by oppi.li e33c6bac d250ccfa

Changed files
+11 -2
appview
pages
templates
state
+5
appview/pages/templates/repo/pulls/fragments/pullCompareBranches.html
··· 17 17 </select> 18 18 </div> 19 19 </div> 20 + 21 + <p class="mt-4"> 22 + Title and description are optional; if left out, they will be extracted 23 + from the first commit. 24 + </p> 20 25 {{ end }}
+4
appview/pages/templates/repo/pulls/fragments/pullCompareForks.html
··· 39 39 </div> 40 40 </div> 41 41 </div> 42 + <p class="mt-4"> 43 + Title and description are optional; if left out, they will be extracted 44 + from the first commit. 45 + </p> 42 46 {{ end }}
+2 -2
appview/state/pull.go
··· 860 860 } 861 861 862 862 if patchutil.IsFormatPatch(patch) { 863 - s.pages.Notice(w, "patch-preview", "Format patch detected. Title and description are optional; if left out, they will be extracted from the first commit.") 863 + s.pages.Notice(w, "patch-preview", "git-format-patch detected. Title and description are optional; if left out, they will be extracted from the first commit.") 864 864 } else { 865 - s.pages.Notice(w, "patch-preview", "Regular diff detected. Please provide a title and description.") 865 + s.pages.Notice(w, "patch-preview", "Regular git-diff detected. Please provide a title and description.") 866 866 } 867 867 } 868 868