You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

recently_pushed_new_branches.tmpl 515B

1234567891011
  1. {{range .RecentlyPushedNewBranches}}
  2. <div class="ui positive message gt-df gt-ac">
  3. <div class="gt-f1">
  4. {{$timeSince := TimeSince .CommitTime.AsTime $.locale}}
  5. {{$.locale.Tr "repo.pulls.recently_pushed_new_branches" (PathEscapeSegments .Name) $timeSince | Safe}}
  6. </div>
  7. <a aria-role="button" class="ui compact positive button gt-m-0" href="{{$.Repository.ComposeBranchCompareURL $.Repository.BaseRepo (PathEscapeSegments .Name)}}">
  8. {{$.locale.Tr "repo.pulls.compare_changes"}}
  9. </a>
  10. </div>
  11. {{end}}