Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1869 from duckduckgo/zaahir/sublime-visual-updates
Browse files Browse the repository at this point in the history
SublimePackages: add new download and clock icon to footer
  • Loading branch information
moollaza committed Nov 24, 2015
2 parents 47b5039 + c073df4 commit c1925e9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
16 changes: 7 additions & 9 deletions share/spice/sublime_packages/footer.handlebars
@@ -1,10 +1,8 @@
<div class="tile__update__info one-line">
<span class="opt--left">
<span class="ddgsi ddgsi-download"></span>
{{unique_installs}}
</span>
<span class="opt--right">
<span class="ddgsi ddgsi-clock"></span>
{{last_modified}}
</span>
</div>
<span class="pull-left">
<span class="ddgsi ddgsi-download"></span>{{unique_installs}}
</span>
<span class="pull-right">
<span class="ddgsi ddgsi-clock"></span>{{last_modified}}
</span>
</div>
8 changes: 7 additions & 1 deletion share/spice/sublime_packages/sublime_packages.js
Expand Up @@ -29,7 +29,7 @@
}
return {
title: item.name,
subtitle: item.highlighted_authors,
subtitle: "by " + item.highlighted_authors,
last_modified: moment(item.last_modified).fromNow(),
description: item.highlighted_description,
url: "https://packagecontrol.io/packages/" + item.name
Expand All @@ -44,6 +44,12 @@
},
variants: {
tile: 'basic4'
},
elClass: {
tileTitle: "tx--17 tx-clr--slate",
tileSubtitle: "tx--14 tx-clr--grey-light",
tileSnippet: "tx--14 tx-clr--slate-light",
tileFoot: "tx--14 tx-clr--grey-light"
}
},
// Sort by number of unique installs
Expand Down

0 comments on commit c1925e9

Please sign in to comment.