mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Use packageLink() more consistently, and shorten some markup
This commit is contained in:
parent
d8f4f05269
commit
3bbe3ade62
1 changed files with 2 additions and 12 deletions
|
@ -238,18 +238,8 @@
|
||||||
return m("tr", { "class": visible[p.name] ? '' : 'filtered'},
|
return m("tr", { "class": visible[p.name] ? '' : 'filtered'},
|
||||||
[
|
[
|
||||||
m("td", packageLink(p)),
|
m("td", packageLink(p)),
|
||||||
m("td", [
|
m("td", packageLink(p, p.description)),
|
||||||
m("a", {href: "/" + p.name, config: m.route}, [
|
m("td.version", packageLink(p, [p.version, " ", glyphicon('download')])),
|
||||||
p.description
|
|
||||||
])
|
|
||||||
]),
|
|
||||||
m("td.version", [
|
|
||||||
packageLink(p, [
|
|
||||||
p.version,
|
|
||||||
" ",
|
|
||||||
glyphicon('download')
|
|
||||||
])
|
|
||||||
]),
|
|
||||||
m("td.recipe", [
|
m("td.recipe", [
|
||||||
m("a", {href: p.recipeURL}, [
|
m("a", {href: p.recipeURL}, [
|
||||||
glyphicon('cutlery')
|
glyphicon('cutlery')
|
||||||
|
|
Loading…
Reference in a new issue