Guest User

Untitled

a guest
May 21st, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. "\"\#{ if v = ctx[:project]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"<h2>\#{CGI.escapeHTML(ctx[:title].to_s)}</h2>\\n<hr />\\n\\n<div style=\\\"float: right; border-left: 1px solid #999; padding-left: 1em;\\\">\\n <h3>code repositories</h3>\\n <ul style=\\\"list-style: none; padding: 0 0 0 1em; margin: 0;\\\" class=\\\"fixedwidth\\\">\\n \#{ if v = ctx[:repos]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"<li><a href=\\\"/projects/ooc/repos/\#{CGI.escapeHTML(ctx[:id].to_s)}\\\">\#{CGI.escapeHTML(ctx[:short_name].to_s)}</a></li>\\n \"; ctx.pop; c }.join\n end\n}</ul>\\n</div>\\n\\n<p>This is a project page for \#{CGI.escapeHTML(ctx[:title].to_s)}.</p>\\n<p>Stuff goes here.</p>\\n\\n\#{ if v = ctx[:owner]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"<p>This project's administrative contact is <a href=\\\"/users/\#{CGI.escapeHTML(ctx[:username].to_s)}\\\" title=\\\"\#{CGI.escapeHTML(ctx[:display_name].to_s)}'s Profile\\\">\#{CGI.escapeHTML(ctx[:display_name].to_s)}</a>.</p>\\n\"; ctx.pop; c }.join\n end\n}<hr />\\n\\n<h3>recent commits</h3>\\n<ul style=\\\"margin: 0;\\\" class=\\\"fixedwidth\\\">\\n\#{ if v = ctx[:commits_5]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"<li>\#{ if v = ctx[:repo]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"<a href=\\\"/projects/\#{ if v = ctx[:project]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"\#{CGI.escapeHTML(ctx[:slug].to_s)}\"; ctx.pop; c }.join\n end\n}/repos/\#{CGI.escapeHTML(ctx[:id].to_s)}\\\">\#{CGI.escapeHTML(ctx[:short_name].to_s)}</a>: \"; ctx.pop; c }.join\n end\n}\#{CGI.escapeHTML(ctx[:short_message].to_s)} [<a href=\\\"/projects/\#{ if v = ctx[:project]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"\#{CGI.escapeHTML(ctx[:slug].to_s)}\"; ctx.pop; c }.join\n end\n}/commits/authors/\#{CGI.escapeHTML(ctx[:author].to_s)}\\\">\#{CGI.escapeHTML(ctx[:author].to_s)}</a>]</li>\\n\"; ctx.pop; c }.join\n end\n}<li><a href=\\\"/projects/\#{ if v = ctx[:project]\n v = [v] unless v.is_a?(Array) # shortcut when passed non-array\n v.map { |h| ctx.push(h); c = \"\#{CGI.escapeHTML(ctx[:slug].to_s)}\"; ctx.pop; c }.join\n end\n}/commits\\\">more...</a></li>\\n</ul>\\n\\n<br clear=\\\"all\\\" />\\n\\n\"; ctx.pop; c }.join\n end\n}\""
  2. 192.168.1.95 - - [18/Mar/2010 20:54:45] "GET /projects/ooc HTTP/1.1" 200 3036 0.3375
  3. 192.168.1.95 - - [18/Mar/2010 20:54:46] "GET /favicon.ico HTTP/1.1" 404 20 0.2665
  4. "#{ if v = ctx[:project]
  5. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  6. v.map { |h| ctx.push(h); c = "<h2>#{CGI.escapeHTML(ctx[:title].to_s)}</h2>\n<hr />\n\n<div style=\"float: right; border-left: 1px solid #999; padding-left: 1em;\">\n <h3>code repositories</h3>\n <ul style=\"list-style: none; padding: 0 0 0 1em; margin: 0;\" class=\"fixedwidth\">\n #{ if v = ctx[:repos]
  7. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  8. v.map { |h| ctx.push(h); c = "<li><a href=\"/projects/ooc/repos/#{CGI.escapeHTML(ctx[:id].to_s)}\">#{CGI.escapeHTML(ctx[:short_name].to_s)}</a></li>\n "; ctx.pop; c }.join
  9. end
  10. }</ul>\n</div>\n\n<p>This is a project page for #{CGI.escapeHTML(ctx[:title].to_s)}.</p>\n<p>Stuff goes here.</p>\n\n#{ if v = ctx[:owner]
  11. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  12. v.map { |h| ctx.push(h); c = "<p>This project's administrative contact is <a href=\"/users/#{CGI.escapeHTML(ctx[:username].to_s)}\" title=\"#{CGI.escapeHTML(ctx[:display_name].to_s)}'s Profile\">#{CGI.escapeHTML(ctx[:display_name].to_s)}</a>.</p>\n"; ctx.pop; c }.join
  13. end
  14. }<hr />\n\n<h3>recent commits</h3>\n<ul style=\"margin: 0;\" class=\"fixedwidth\">\n#{ if v = ctx[:commits_5]
  15. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  16. v.map { |h| ctx.push(h); c = "<li>#{ if v = ctx[:repo]
  17. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  18. v.map { |h| ctx.push(h); c = "<a href=\"/projects/#{ if v = ctx[:project]
  19. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  20. v.map { |h| ctx.push(h); c = "#{CGI.escapeHTML(ctx[:slug].to_s)}"; ctx.pop; c }.join
  21. end
  22. }/repos/#{CGI.escapeHTML(ctx[:id].to_s)}\">#{CGI.escapeHTML(ctx[:short_name].to_s)}</a>: "; ctx.pop; c }.join
  23. end
  24. }#{CGI.escapeHTML(ctx[:short_message].to_s)} [<a href=\"/projects/#{ if v = ctx[:project]
  25. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  26. v.map { |h| ctx.push(h); c = "#{CGI.escapeHTML(ctx[:slug].to_s)}"; ctx.pop; c }.join
  27. end
  28. }/commits/authors/#{CGI.escapeHTML(ctx[:author].to_s)}\">#{CGI.escapeHTML(ctx[:author].to_s)}</a>]</li>\n"; ctx.pop; c }.join
  29. end
  30. }<li><a href=\"/projects/#{ if v = ctx[:project]
  31. v = [v] unless v.is_a?(Array) # shortcut when passed non-array
  32. v.map { |h| ctx.push(h); c = "#{CGI.escapeHTML(ctx[:slug].to_s)}"; ctx.pop; c }.join
  33. end
  34. }/commits\">more...</a></li>\n</ul>\n\n<br clear=\"all\" />\n\n"; ctx.pop; c }.join
  35. end
  36. }"
Add Comment
Please, Sign In to add comment