Skip to content

Commit

Permalink
mergin init and renaming subtab
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Goyal <[email protected]>
  • Loading branch information
agmps17 committed Jun 19, 2014
2 parents b08e8a9 + 859542c commit f012ecc
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html
config/initializers/secret_token.rb
config/secrets.yml

## Environment normalisation:
/.bundle
/vendor/bundle

# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
web-apps
========

Amahi Web Apps plugin
2 changes: 1 addition & 1 deletion app/views/webapps/_permission_webapp.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ div.webapp[id="whole_webapp_#{uid}"]
.webapp-manage
fieldset
legend
|&nbsp; #{t 'edit_web_app_permission_for'}&nbsp;
|&nbsp; #{t 'edit_web_app_access_for'}&nbsp;
b= h(@webapp.name)
| &nbsp;
.settings-fields
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/plugin_init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
t = Tab.find("apps")
# add any subtabs with what you need. params are controller and the label, for example
t.add("webapps", "Web Apps")
t.add("webapps/permissions","Permissions")
t.add("webapps/permissions","Access")

0 comments on commit f012ecc

Please sign in to comment.