commit | a8f3a17259161deda84b1abf1769dfee478a078c | [log] [tgz] |
---|---|---|
author | Austin Yuan <austinyuan@google.com> | Fri Sep 11 23:44:20 2020 +0000 |
committer | Austin Yuan <austinyuan@google.com> | Tue Sep 15 16:39:42 2020 +0000 |
tree | d14eae799f5bbb990d386a44e4df18760f122542 | |
parent | ad4f047caa26786f386bccbc19a5b652bff10e9c [diff] |
changelog-web: Added read more link Added a Read more link under the color legend for the changelog feature. This link redirects to the readme page. BUG=b/160901711 TEST=run local Change-Id: I305ebb171d696d7781f90da095fd6205677faeb7
diff --git a/src/cmd/changelog-webapp/static/css/changelog.css b/src/cmd/changelog-webapp/static/css/changelog.css index 8a51e20..3140f47 100644 --- a/src/cmd/changelog-webapp/static/css/changelog.css +++ b/src/cmd/changelog-webapp/static/css/changelog.css
@@ -48,6 +48,11 @@ margin: 3px 0px 3px 4px; } +.sha-legend a { + font-size: 14px; + margin: 4px; +} + .circle { border-radius: 50%; display: inline-block;
diff --git a/src/cmd/changelog-webapp/static/templates/changelog.html b/src/cmd/changelog-webapp/static/templates/changelog.html index 877d4cf..d5c103f 100644 --- a/src/cmd/changelog-webapp/static/templates/changelog.html +++ b/src/cmd/changelog-webapp/static/templates/changelog.html
@@ -81,6 +81,7 @@ Commits present in <b>{{.Source}}</b> but not in <b>{{.Target}}</b> </span> </div> + <a href="/readme/">Read more</a> </div> {{end}} {{range $table := .RepoTables}}