Commit 9c958f2d authored by David Roetzel's avatar David Roetzel

Renamed project to "frab".

parent 21f4afb2
......@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'
Nab::Application.load_tasks
Frab::Application.load_tasks
......@@ -2,7 +2,7 @@
<html>
<head>
<title><%= @conference.title %> - Management</title>
<%= stylesheet_link_tag "nab", "web-app-theme/base", "web-app-theme/themes/nab/style", "web-app-theme/override", "formtastic", "formtastic_changes", :cache => true %>
<%= stylesheet_link_tag "frab", "web-app-theme/base", "web-app-theme/themes/frab/style", "web-app-theme/override", "formtastic", "formtastic_changes", :cache => true %>
<%= javascript_include_tag :defaults, :cache => true %>
<%= javascript_include_tag "cocoon", :cache => true %>
<%= csrf_meta_tag %>
......@@ -14,7 +14,7 @@
<% if params[:conference_acronym] %>
<%= link_to @conference.title, root_path %>
<% else %>
<%= link_to "Welcome to nab", root_path %>
<%= link_to "Welcome to frab", root_path %>
<% end %>
</h1>
<div id="user-navigation">
......@@ -56,7 +56,7 @@
<%= yield %>
<div id="footer">
<div class="block">
<p>Copyright &copy; <%= Time.now.year %> the nab project.</p>
<p>Copyright &copy; <%= Time.now.year %> the frab project.</p>
</div>
</div>
</div>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title><%= @conference.title %> - Call for Papers</title>
<%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/nab/style", "web-app-theme/override", "formtastic", "formtastic_changes", "nab", :cache => true %>
<%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/frab/style", "web-app-theme/override", "formtastic", "formtastic_changes", "frab", :cache => true %>
<%= javascript_include_tag :defaults, :cache => true %>
<%= javascript_include_tag "cocoon", :cache => true %>
<%= csrf_meta_tag %>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Web App</title>
<%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/nab/style", "web-app-theme/override", :cache => true %>
<%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/frab/style", "web-app-theme/override", :cache => true %>
<%= csrf_meta_tag %>
</head>
<body>
......
......@@ -6,7 +6,7 @@ require 'rails/all'
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
module Nab
module Frab
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
......
......@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Nab::Application.initialize!
Frab::Application.initialize!
Nab::Application.configure do
Frab::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
......
Nab::Application.configure do
Frab::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
......
Nab::Application.configure do
Frab::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
......
......@@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Nab::Application.config.secret_token = '530abdee46117f40ebd6dd4fff34cd47da355293774225ebed3d79e95a95683269787515846b6be88f5e2ae518545db06051ab4240a4142d4dee20d7d8e8ce98'
Frab::Application.config.secret_token = '530abdee46117f40ebd6dd4fff34cd47da355293774225ebed3d79e95a95683269787515846b6be88f5e2ae518545db06051ab4240a4142d4dee20d7d8e8ce98'
# Be sure to restart your server when you modify this file.
Nab::Application.config.session_store :cookie_store, :key => '_nab_session'
Frab::Application.config.session_store :cookie_store, :key => '_frab_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Nab::Application.config.session_store :active_record_store
# Frab::Application.config.session_store :active_record_store
Nab::Application.routes.draw do
Frab::Application.routes.draw do
devise_for :users
resources :conferences
......
......@@ -107,7 +107,7 @@ class PentabarfImportHelper
accounts.each do |account|
# do not import if no person is associated
next if account["person_id"].blank?
# nab uses email as login, so no user can be created without email
# frab uses email as login, so no user can be created without email
next if account["email"].blank?
# Stupid edge case, where devise validation fails.
account["email"].sub!(/@localhost$/, "@example.com")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment