{{define "user/favorites.html"}} {{template "public_favicon_link" .}} {{.Title}} - {{T "site_name"}} {{template "custom-head-embed" .}} {{template "public/header_frag" .}}
{{template "user_sidebar" .}}

{{T "user_menu_favorites"}}

{{T "user_pagehead_tip_favorites"}}
{{if .Data.Rows}}
{{range .Data.Rows}}
{{if eq (printf "%v" .item_type) "1"}} {{T "item_type_source"}} {{else}} {{T "item_type_software"}} {{end}}
{{if eq (printf "%v" .status) "2"}} {{else}}
{{.title}} {{T "fav_invalid"}}
{{end}}
{{T "col_version"}} {{.version}} {{T "col_fav_at"}} ยท {{if .fav_human}}{{.fav_human}}{{else}}{{.fav_at}}{{end}}
{{end}}
{{else}}

{{T "favorites_empty"}}

{{T "favorites_empty_hint"}}

{{T "nav_home"}}
{{end}}
{{if .Data.Rows}} {{end}} {{template "public/footer_frag" .}} {{end}}