Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

citizenlab/ami-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS PROJECT IS OUT OF DATE

NOTE: THIS PROJECT IS ARCHIVED AND NEWEST CODE IS UP AT https://github.com/citizenlab/ami

AMI Frontend

AMI Frontend is an AngularJS application. The codebase is structured around being either served for development or compiled for production by webpack.

User Interface

The AMI user interface are HTML files stored in app/views. They represent UI Views that contain Angular elements and variable placeholders.

AMI Frontend styling is done primarily using the Tachyons Verbose CSS framework.

Internationalization

AMI is set up to be internationalized. For this reason, all user interface strings for AMI for a given language are stored in a translation file.

You'll then need to create a new JSON file in the app/translations folder called locale-{{newLanguageCode}}.json. It's easiest to copy from an existing translation file and start editing from there.

To add new translated strings to UI Views refer to the angular translate documentation.