Skip to content

Commit

Permalink
Merge pull request #132 from daveRendon/staging
Browse files Browse the repository at this point in the history
updated file
  • Loading branch information
daveRendon authored May 9, 2024
2 parents 4ddb6f2 + 80838bf commit 7f22ffc
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 140 deletions.
4 changes: 2 additions & 2 deletions docs/layouts/shortcodes/moduleHistory.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
{{ if and (eq $item.FirstPublishedInColumnId $publicationDate) (not ( in $exclude $item.ModuleStatus )) }}
{{ $moduleLatestVersion = "N/A" }}
{{ if or (eq $item.ModuleStatus "Module Available :green_circle:") (eq $item.ModuleStatus "Module Orphaned :eyes:") }}
{{ $moduleMcrUrl := printf "https://mcr.microsoft.com/v2/bicep/%s/tags/list" $item.ModuleName }}
{{ $moduleMcrUrl := printf "https://github.com/daveRendon/azinsider/tree/main/application-workloads/" $item.ModuleName }}
{{ $moduleMcrData := getJSON $moduleMcrUrl }}
{{ $moduleVersions := $moduleMcrData.tags }}
{{ if $moduleVersions }}
Expand All @@ -159,7 +159,7 @@
<td>{{ printf "%02d" $i }}{{ $i = add $i 1 }}</td>
<td>{{ if $useLinks }} {{ if or (eq $item.ModuleStatus "Module Available :green_circle:") (eq $item.ModuleStatus "Module Orphaned :eyes:") }} <a href="{{ $item.RepoURL }}">{{ $item.ModuleName }}</a> {{ else }} {{ $item.ModuleName }} {{ end }} {{else}} {{ $item.ModuleName }} {{ end }} </td>
<td>{{ $item.ModuleDisplayName }}</td>
<td>{{ if or (eq $item.ModuleStatus "Module Available :green_circle:") (eq $item.ModuleStatus "Module Orphaned :eyes:") }}<a href="https://mcr.microsoft.com/v2/bicep/{{ $item.ModuleName }}/tags/list"><image src="https://img.shields.io/badge/{{ emojify $trimmedModuleStatus }}-{{ $moduleLatestVersion }}-blue"/></a> {{ else }} <a href=""><image src="https://img.shields.io/badge/{{ emojify $trimmedModuleStatus }}-N/A-blue"/></a> {{ end }}</td>
<td>{{ if or (eq $item.ModuleStatus "Module Available :green_circle:") (eq $item.ModuleStatus "Module Orphaned :eyes:") }}<a href="https://github.com/daveRendon/azinsider/tree/main/application-workloads/"><image src="https://img.shields.io/badge/{{ emojify $trimmedModuleStatus }}-{{ $moduleLatestVersion }}-blue"/></a> {{ else }} <a href=""><image src="https://img.shields.io/badge/{{ emojify $trimmedModuleStatus }}-N/A-blue"/></a> {{ end }}</td>
<td>{{ if ne $item.PrimaryModuleOwnerGHHandle ""}}<a href="https://github.com/{{ $item.PrimaryModuleOwnerGHHandle }}">{{ $item.PrimaryModuleOwnerGHHandle }}</a> {{ if and (ne $item.PrimaryModuleOwnerGHHandle "") (ne $item.PrimaryModuleOwnerDisplayName "") }} <br> ({{ $item.PrimaryModuleOwnerDisplayName }}) {{ end }} {{ end}}</td>
</tr>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/shortcodes/moduleNameStatusOwners.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
{{ if not ( in $exclude $item.ModuleStatus ) }}
{{ $moduleLatestVersion = "N/A" }}
{{ if or (eq $item.ModuleStatus "Module Available :green_circle:") (eq $item.ModuleStatus "Module Orphaned :eyes:") }}
{{ $moduleMcrUrl := printf "https://mcr.microsoft.com/v2/bicep/%s/tags/list" $item.ModuleName }}
{{ $moduleMcrUrl := printf "https://github.com/daveRendon/azinsider/tree/main/application-workloads/"}}
{{ $moduleMcrData := getJSON $moduleMcrUrl }}
{{ $moduleVersions := $moduleMcrData.tags }}
{{ if $moduleVersions }}
Expand Down
Loading

0 comments on commit 7f22ffc

Please sign in to comment.