Shawn Kwang
5d3297e3c1
Drupal: Found one more instance of project-specific text; removed.
2017-03-31 09:32:58 -05:00
Shawn Kwang
1f00dc2268
Drupal: Added bts() translations to user_profile Feature.
...
Also removed project-specific strings.
2017-03-31 09:32:02 -05:00
Shawn Kwang
4b7a955916
Drupal: Used substitution for site-name, so translators can change the order of words.
2017-03-31 08:48:27 -05:00
Shawn Kwang
37487fed74
Drupal: Fixed spelling typos in other-boinc-translation-strings text file.
2017-03-30 11:07:12 -05:00
Shawn Kwang
9c6b485de8
Drupal: Modified stats_panel to use site_name variable for chart title.
2017-03-30 11:05:46 -05:00
Shawn Kwang
0f0be9d1eb
Drupal: Added additional strings to override text file, mostly from views for hosts, workunits, and tasks.
2017-03-28 12:00:46 -05:00
Shawn Kwang
b6b26a51dd
Drupal: Modified search template to work with i18n.
...
Moved code from template into preprocess function.
Use bundle string in switch statements, which is not translated.
2017-03-28 12:00:46 -05:00
Shawn Kwang
a84cd0aaeb
Drupal: Modified links in private message feature to use url() function.
2017-03-28 12:00:46 -05:00
Shawn Kwang
e3e9b0a935
Drupal: Changed instances of base_path and base_url to use the url() function.
...
This change is necessary in order to have the link include the language code/prefix in the URL.
2017-03-28 12:00:45 -05:00
Shawn Kwang
3b37a1e47e
Drupal: Added bts() function for user info.
...
User info area in comments/forum posts were not being translated. Added bts() function to various templates with context.
2017-03-28 12:00:45 -05:00
Shawn Kwang
54e6b0becc
Drupal: Add bts() function to multiple strings in Features.
...
Multiple strings in Features were not in translation system. Added bts() to strings to include them. Added context as well.
2017-03-28 12:00:40 -05:00
Shawn Kwang
afb0d61e8b
Drupal: Added menu items to boinc translations, with context details.
...
https://dev.gridrepublic.org/browse/DBOINCP-317
2017-03-28 12:00:10 -05:00
tristanolive
d6717a834b
Merge pull request #1825 from drshawnkwang/drupal_fix-i18n-teamforumlist
...
Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
2017-03-22 17:19:42 -04:00
tristanolive
04dd60a90b
Merge pull request #1823 from drshawnkwang/drupal_fix_userprofileFeature
...
Drupal: Removed another line in user_profiles feature to remove overrides.
2017-03-22 17:13:54 -04:00
tristanolive
901ea91cff
Merge pull request #1822 from drshawnkwang/drupal_feature-i18n-add-context-other-bts
...
Drupal: Added ability to add context to other-boinc-translation-strings text file.
2017-03-22 17:13:07 -04:00
Shawn Kwang
64f4a3954c
Drupal: Added !empty() function to check if timestamp does/does not exist.
2017-03-22 14:57:58 -05:00
Shawn Kwang
0e32f27e70
Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
...
Changed template for team forum topic to use different variables. Now template uses $results, not topics/rows variable. The former has numerical values, which won't be translated into another language.
https://dev.gridrepublic.org/browse/DBOINCP-360
2017-03-21 16:05:11 -05:00
Shawn Kwang
37953c0307
Drupal: Added trim() function to tokens.
2017-03-21 09:24:21 -05:00
Shawn Kwang
a2b3abea5f
Drupal: Added ability to add context to other-boinc-translation-strings text file.
...
boinctranslate module will read file and use '|' as delimiter to separate the string from its context.
Added context to a number of string in the other-boinc-translation-strings file.
https://dev.gridrepublic.org/browse/DBOINCP-361
2017-03-20 14:54:06 -05:00
Shawn Kwang
7dd7727fdb
Drupal: Removed another line in user_profiles feature to remove overrides.
2017-03-20 14:39:16 -05:00
Shawn Kwang
ca5f418129
Drupal: Added hook to boinctranslate to update the URL/path for l10n_update.
...
https://dev.gridrepublic.org/browse/DBOINCP-363
2017-03-16 14:54:57 -05:00
tristanolive
3e6398691f
Merge pull request #1810 from BOINC/drupal_teamlist
...
Drupal: implement creditonly switch for team_email_list.php RPC
2017-03-15 11:29:25 -04:00
Christian Beer
1698897faa
Drupal: implement creditonly switch for team_email_list.php RPC
...
This is used by stats sites to regularly query user credit stats during a special event. The default implementation is inefficient as it creates a DB query per team member which is slowing down the query in big teams. The creditonly switch is also available in upstream where it supresses certain xml outputs. We still don't support all the fields that upstream supports but the missing fields are not credit relevant.
2017-03-14 13:44:50 +01:00
Christian Beer
ee12c14aa0
Drupal: fixed error messages
...
see comment in https://dev.gridrepublic.org/browse/DBOINCP-317
2017-03-10 15:00:05 +01:00
tristanolive
eb6d5e1b2f
Merge pull request #1806 from drshawnkwang/drupal_fix-usermodlinks-utf8
...
Drupal: Added UTF-8 encoding for loadHTML.
2017-03-09 12:04:14 -05:00
tristanolive
c6fe7c810e
Merge pull request #1802 from drshawnkwang/drupal_fix-respdes-paths
...
Drupal: Renamed moderation queue menu item as 'Queue'
2017-03-09 09:17:12 -05:00
Shawn Kwang
4ceda504bb
Drupal: Added UTF-8 encoding for HTML being loaded by DOMDocument. Fixes garbage output text for links and moderator links.
...
https://dev.gridrepublic.org/browse/DBOINCP-359
2017-03-08 10:54:43 -06:00
Shawn Kwang
61c20207e0
Drupal: Adjusted margin, so hamburger menu is centered in menu bar.
2017-03-08 08:25:10 -06:00
Shawn Kwang
df4bf42847
Drupal: Removed alter=>TRUE from user_profile menu_links, which was causing a permanent override.
2017-03-03 09:20:58 -06:00
Shawn Kwang
e1c5d815fa
Drupal: Fixed CSS so there is no margin/padding to push the header down; which was pushing down the mobile menu icon & text.
2017-03-03 08:13:51 -06:00
Shawn Kwang
77618f7555
Drupal: Renamed child menu as 'Queue'.
2017-03-03 08:13:51 -06:00
tristanolive
30fe06a559
Merge pull request #1800 from drshawnkwang/drupal_feature-solr-userprofiles
...
Drupal: Use boinc username in Solr searches.
2017-03-01 11:17:47 -05:00
tristanolive
b2f7e46311
Merge pull request #1799 from drshawnkwang/drupal_feature-respdes-fm
...
Drupal: Add responsive design to Drupal Web site
2017-03-01 11:10:48 -05:00
Shawn Kwang
6d452e7aed
Drupal: Use boinc username in Solr searches.
...
Changed bundle name from "Profile" to "User".
Boinc username is used in Solr index (replaces drupal username).
Search template updated to use bundle name "User" and to use boinc username.
https://dev.gridrepublic.org/browse/DBOINCP-357
2017-02-28 13:01:09 -06:00
Shawn Kwang
834a46b0d2
Drupal: Changed user_profiles Feature to update Moderation menu.
...
Changed view to have default tab menu for moderate/profiles, which creates parent Moderation menu.
Used Feature menu_link to create child Moderation Queue menu item, which is child in Moderation menu.
2017-02-27 16:01:56 -06:00
Shawn Kwang
ea1c9fda38
Drupal: Changed boinc_standard Feature to remove Tertiary Menu block from Navigation Bar region.
2017-02-27 16:01:56 -06:00
Shawn Kwang
adc28261d3
Drupal: Added Feature mobilemenu to save configuration options for mobile_menu_toggle and dthtml_menu.
2017-02-27 16:01:56 -06:00
Shawn Kwang
1a4e6ed44a
Drupal: Updated README for mobile_menu_toggle.
2017-02-27 16:01:56 -06:00
Shawn Kwang
95c78fd252
Drupal: Added dependency to dhtml_menu to moble_menu_toggle module.
2017-02-27 16:01:56 -06:00
Shawn Kwang
8f59ee754b
Drupal: Added mobile_menu_toggle template which uses font-awesome for main menu botton.
...
Added text "Menu" to right of hamburger menu.
2017-02-27 16:01:56 -06:00
Shawn Kwang
6d2f278fda
Drupal: Modified page template to put menu links in div tags.
...
Manually added action links to page template.
Added mobile menu for no JS browsers.
2017-02-27 16:01:56 -06:00
Shawn Kwang
d7031fc657
Drupal: Modified template.php for mobile screens and to generate mobile menu tree.
...
Added viewport meta tag to HTML head, adjusted whitespace.
Changed how the menu tree is obtained using menu_tree_xyz().
Added boinc action links function to template.
2017-02-27 16:01:55 -06:00
Shawn Kwang
84a8d17d40
Drupal: Add CSS for BOINC theme. Add mobile mneu toggle to layout.
2017-02-27 16:01:55 -06:00
Shawn Kwang
759f5da612
Drupal: Added responsive design with JS/jQuery width detection function. CSS is injected into header tag.
...
Changed breakpoints for jQuery to match CSS @media directives.
Added some documentation to JS file.
Fixed bug where window resizing smaller would not show menu if width was smaller than mobile breakpoint.
Fixed bug where window resizing larger would show both nav bar and mobile menu. Fixed by having JS call CSS display:none for mobile menu when window is resized larger than breakpoint.
2017-02-27 15:49:56 -06:00
Shawn Kwang
ba53f2f65f
Drupal: Added responsive-design-jswidth CSS file.
...
Add CSS for BOINC theme. Add responsive JS width CSS file.
Changed BOINC theme to match changes to einstein theme.
Removed unused non-JS menu. Fixed some minor CSS bugs.
2017-02-27 15:49:37 -06:00
Shawn Kwang
067b8ee5ce
Drupal: Added responsive-media.css CSS file to theme.
...
CSS is used to display/hide elements depending on if the width of the navigation bar is larger than that of the window width.
Changed BOINC theme to match changes in einstein theme.
Removed unused CSS classes. Fixed minor CSS bugs.
Updated CSS to remove unneeded tag.
Removed tab CSS style for mobile screens.
2017-02-27 15:48:49 -06:00
Shawn Kwang
03467ed30e
Drupal: Add JS and CSS to boinc theme.
...
Added responsive-media.css to boinc theme.
Added javascript file to detect widths to boinc theme.
Added responsive-jswidth.css to boinc theme.
2017-02-27 15:42:33 -06:00
Shawn Kwang
ff068a4369
Drupal: Added mobile_menu_toggle to contrib directory. Module installes menu which toggles navigation bar.
2017-02-27 14:39:09 -06:00
Tristan Olive
adb92d3794
Drupal: Replace fixed widths of standard page sections
...
For better small screen support, use fixed width values as max-width and allow main content sections on pages to be responsive to viewport width
https://dev.gridrepublic.org/browse/DBOINCP-250
2017-02-27 14:31:09 -06:00
Shawn Kwang
f3a13d42fc
Drupal: Revert changes from PR 1733. Removes CSS that sets page at min (fixed) width.
2017-02-27 14:30:47 -06:00