Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little bit of refactoring #50

Merged
merged 4 commits into from
Apr 29, 2016
Merged

A little bit of refactoring #50

merged 4 commits into from
Apr 29, 2016

Conversation

tuomokar
Copy link
Collaborator

Some refactoring:

  • bootstrap styles for error messages
  • scripts now in their own file
  • the template files are now divided into separate folders (references in templates/references and reference lists in templates/referencelists)
  • removed some switch statements
  • added comments for the controller methods
  • added a couple of checks to the controllers (e.g. if a user tries to get into the reference creation page directly without choosing the type, they get redirected to the choosing page)
  • when a reference list is exported to a bibtex file, it gets the list's name as its default name if a name isn't given otherwise

.. and some other general refactoring.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 94.553% when pulling e3c6b76 on tuomokar into 26db98a on master.

@iilumme iilumme merged commit 1937747 into master Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants