mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Merge branch 'master' into omniauth_for_social_sites
This commit is contained in:
commit
254f4f001f
105
app.json
Normal file
105
app.json
Normal file
@ -0,0 +1,105 @@
|
||||
{
|
||||
"name": "notebook",
|
||||
"scripts": {
|
||||
},
|
||||
"env": {
|
||||
"AWS_ACCESS_KEY_ID": {
|
||||
"required": true
|
||||
},
|
||||
"AWS_REGION": {
|
||||
"required": true
|
||||
},
|
||||
"AWS_SECRET_ACCESS_KEY": {
|
||||
"required": true
|
||||
},
|
||||
"GOOGLE_TRANSLATE_API_KEY": {
|
||||
"required": true
|
||||
},
|
||||
"HEROKU_POSTGRESQL_BROWN_URL": {
|
||||
"required": true
|
||||
},
|
||||
"LANG": {
|
||||
"required": true
|
||||
},
|
||||
"LIBRATO_PASSWORD": {
|
||||
"required": true
|
||||
},
|
||||
"LIBRATO_TOKEN": {
|
||||
"required": true
|
||||
},
|
||||
"LIBRATO_USER": {
|
||||
"required": true
|
||||
},
|
||||
"LOG_LEVEL": {
|
||||
"required": true
|
||||
},
|
||||
"MAINTENANCE_PAGE_URL": {
|
||||
"required": true
|
||||
},
|
||||
"MIXPANEL_TOKEN": {
|
||||
"required": true
|
||||
},
|
||||
"RACK_ENV": {
|
||||
"required": true
|
||||
},
|
||||
"RAILS_ENV": {
|
||||
"required": true
|
||||
},
|
||||
"RAILS_SERVE_STATIC_FILES": {
|
||||
"required": true
|
||||
},
|
||||
"RAYGUN_API_KEY": {
|
||||
"required": true
|
||||
},
|
||||
"RUBY_GC_HEAP_GROWTH_FACTOR": {
|
||||
"required": true
|
||||
},
|
||||
"S3_BUCKET_NAME": {
|
||||
"required": true
|
||||
},
|
||||
"SCOUT_KEY": {
|
||||
"required": true
|
||||
},
|
||||
"SCOUT_MONITOR": {
|
||||
"required": true
|
||||
},
|
||||
"SECRET_KEY_BASE": {
|
||||
"required": true
|
||||
},
|
||||
"SECRET_TOKEN": {
|
||||
"required": true
|
||||
},
|
||||
"SENDGRID_DOMAIN": {
|
||||
"required": true
|
||||
},
|
||||
"SENDGRID_PASSWORD": {
|
||||
"required": true
|
||||
},
|
||||
"SENDGRID_USERNAME": {
|
||||
"required": true
|
||||
},
|
||||
"SLACK_HOOK": {
|
||||
"required": true
|
||||
},
|
||||
"STRIPE_API_KEY": {
|
||||
"required": true
|
||||
},
|
||||
"STRIPE_PUBLISHABLE_KEY": {
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
"formation": {
|
||||
},
|
||||
"addons": [
|
||||
"librato",
|
||||
"heroku-postgresql",
|
||||
"raygun",
|
||||
"scout",
|
||||
"sendgrid"
|
||||
],
|
||||
"buildpacks": [
|
||||
{
|
||||
"url": "heroku/ruby"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -31,7 +31,7 @@
|
||||
</i>
|
||||
<% end %>
|
||||
<% if defined?(@content) && @content.is_a?(Universe) && content_type != :universe %>
|
||||
<%= link_to content_type.to_s.pluralize.titleize, send("#{content_type.to_s.pluralize}_universe_path"), class: "#{content_type_class.color}-text" %>
|
||||
<%= link_to content_type.to_s.pluralize.titleize, send("#{content_type.to_s.pluralize}_universe_path", { id: @content.id }), class: "#{content_type_class.color}-text" %>
|
||||
<% else %>
|
||||
<%= content_type.to_s.pluralize.titleize %>
|
||||
<% end %>
|
||||
@ -60,7 +60,7 @@
|
||||
</table>
|
||||
<div class="center" style="margin-top: 30px">
|
||||
<% if defined?(@content) && @content.is_a?(Universe) && content_type != :universe %>
|
||||
<%= link_to "Browse #{content_type.to_s.pluralize}", send("#{content_type.to_s.pluralize}_universe_path"), class: "btn #{content_type_class.color} lighten-1" %>
|
||||
<%= link_to "Browse #{content_type.to_s.pluralize}", send("#{content_type.to_s.pluralize}_universe_path", { id: @content.id }), class: "btn #{content_type_class.color} lighten-1" %>
|
||||
<% else %>
|
||||
<div class="center">
|
||||
<% button_text = content_list.any? ? "Create another #{content_type}" : "Create one" %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user