Permalink
Browse files

Made the version number in the toolbar a link to the GitHub repo

  • Loading branch information...
1 parent 1f81fce commit 9bc3c0b0f7b23714cb24b0b23e8143b0f28bed5b @dgchurchill committed Jul 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 nanowasp.html
View
@@ -31,7 +31,7 @@ HTML=$(OUTPUTDIR)/index.html $(OUTPUTDIR)/about.html $(OUTPUTDIR)/help.html $(OU
nanowasp: $(OUTPUTDIR)/nanowasp.js $(OUTPUTDIR)/z80.js $(OUTPUTDIR)/data.js $(OUTPUTDIR)/.htaccess $(HTML) $(IMAGES)
$(OUTPUTDIR)/index.html: nanowasp.html | $(OUTPUTDIR)
- cat "$<" | sed -e 's/#UPDATE_DATE#/$(UPDATE_DATE)/' | sed -e 's/#VERSION#/$(VERSION)/' > "$@"
+ cat "$<" | sed -e 's/#UPDATE_DATE#/$(UPDATE_DATE)/g' | sed -e 's/#VERSION#/$(VERSION)/g' > "$@"
$(OUTPUTDIR)/%.html: %.html | $(OUTPUTDIR)
cp "$<" "$@"
View
@@ -34,7 +34,7 @@
<div><a href="about.html" target="org.nanowasp.about">About</a></div>
</li>
<li class="right">
- <div>Updated #UPDATE_DATE# (#VERSION#)</span></div>
+ <div>Updated #UPDATE_DATE# (<a href="https://github.com/dgchurchill/nanowaspjs/commits/#VERSION#" target="_blank">#VERSION#</a>)</span></div>
</li>
<li style="float: none;"><div><!-- and a delicious center --></div></li>

0 comments on commit 9bc3c0b

Please sign in to comment.