2012-02-29 01:30:22 +00:00
|
|
|
%h3= t("layout.projects.files_in_project")
|
|
|
|
.files
|
2012-05-02 10:18:07 +01:00
|
|
|
.l= render 'whereami'
|
|
|
|
= render 'fork'
|
2012-02-29 01:30:22 +00:00
|
|
|
.both
|
|
|
|
|
2012-02-22 22:11:55 +00:00
|
|
|
.file
|
2012-07-17 09:02:56 +01:00
|
|
|
.top= render 'top'
|
|
|
|
.data= render "render_as_#{@blob.render_as}"
|
|
|
|
|
2012-03-01 17:37:24 +00:00
|
|
|
:javascript
|
|
|
|
$(document).ready(function() {
|
2012-03-05 15:27:16 +00:00
|
|
|
var text = $('#code').text().replace(/&/gi, '&');
|
2012-03-07 01:20:35 +00:00
|
|
|
CodeMirror.runMode(text, "#{@blob.raw_mime_type.content_type}", document.getElementById("output"));
|
2012-03-01 17:37:24 +00:00
|
|
|
});
|