add link to history html page
authorChristopher Schmidt <crschmidt@crschmidt.net>
Tue, 22 Apr 2008 13:59:00 +0000 (13:59 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Tue, 22 Apr 2008 13:59:00 +0000 (13:59 +0000)
app/views/browse/start.rjs

index dbe70695f401acc254ee52401d6629e2d08f2c3e..12a5f070c97482f1b3cd445895019f3ac22bba25 100644 (file)
@@ -322,6 +322,10 @@ page << <<EOJ
             history.appendChild(item);
         }
         div.appendChild(history);
+        var link = document.createElement("a");
+        link.appendChild(document.createTextNode("History"));
+        link.href = "/browse/"+this.type+"/"+this.feature.osm_id+"/history";
+        div.appendChild(link);
         $("object").appendChild(div); 
     }