Skip to content

Commit f012ecc

Browse files
committed
mergin init and renaming subtab
Signed-off-by: Arpit Goyal <agmps17@gmail.com>
2 parents b08e8a9 + 859542c commit f012ecc

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
*.rbc
2+
capybara-*.html
3+
.rspec
4+
/log
5+
/tmp
6+
/db/*.sqlite3
7+
/public/system
8+
/coverage/
9+
/spec/tmp
10+
**.orig
11+
rerun.txt
12+
pickle-email-*.html
13+
config/initializers/secret_token.rb
14+
config/secrets.yml
15+
16+
## Environment normalisation:
17+
/.bundle
18+
/vendor/bundle
19+
20+
# these should all be checked in to normalise the environment:
21+
# Gemfile.lock, .ruby-version, .ruby-gemset
22+
23+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
24+
.rvmrc

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
web-apps
2+
========
3+
4+
Amahi Web Apps plugin

app/views/webapps/_permission_webapp.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ div.webapp[id="whole_webapp_#{uid}"]
1414
.webapp-manage
1515
fieldset
1616
legend
17-
|&nbsp; #{t 'edit_web_app_permission_for'}&nbsp;
17+
|&nbsp; #{t 'edit_web_app_access_for'}&nbsp;
1818
b= h(@webapp.name)
1919
| &nbsp;
2020
.settings-fields

config/initializers/plugin_init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
t = Tab.find("apps")
33
# add any subtabs with what you need. params are controller and the label, for example
44
t.add("webapps", "Web Apps")
5-
t.add("webapps/permissions","Permissions")
5+
t.add("webapps/permissions","Access")

0 commit comments

Comments
 (0)