-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Show which version of Kubeflow works for each sample project (#1316) This commit will fetch the commit history from sample project to determine when was the last time that the project received an Updated. * Fixed typo This PR accidentally changed "repo" to "Rep". I've fixed that, and at the same time decided to use the full term instead of the original abbreviation. * Removed misplaced line of text This PR mistakenly copy-pasted a line of text from the financial time series sample into the issue summarization sample. I've removed the line. Co-authored-by: Sarah Maddox <[email protected]>
- Loading branch information
1 parent
446cb7b
commit 4d50191
Showing
2 changed files
with
60 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{ $api := .Get "api" }} | ||
{{ $last_updated := "" }} | ||
{{ $version := .Get "kfctl" }} | ||
<div class="col-lg-12 mb-5 mb-lg-0 "> | ||
{{ with .Get "title" }}<h4 class="h3 mt-3">{{ . }}</h4>{{ end }} | ||
{{ with getJSON $api }} {{ $last_updated = (index (index (index (index . 0) "commit") "committer") "date") | dateFormat "2006/01/02" }} | ||
<p class="text-muted">{{ "Last update " }} {{ $last_updated }} {{ with $version }}{{ "Kubeflow " }}{{ . }}{{ end }}</p>{{ end }} | ||
<p class="mb-0">{{ .Inner }}</p> | ||
{{ with .Get "url" }}<p><a href="{{ . }}">{{ "Go to sample" }}</a></p>{{ end }} | ||
</div> |